com.atlassian.confluence.pages.actions.beans
Class FileStorer
java.lang.Object
com.atlassian.confluence.pages.actions.beans.FileStorer
- Direct Known Subclasses:
- ImageStorer
public class FileStorer
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
action
protected final ActionSupport action
content
protected final ContentEntityObject content
fileParameterNames
protected Enumeration fileParameterNames
fileName
protected String fileName
inited
protected boolean inited
FileStorer
public FileStorer(ActionSupport action,
ContentEntityObject content)
getFileName
public String getFileName()
processMultipartRequest
public void processMultipartRequest(MultiPartRequestWrapper multiPartRequest)
- Checks the request to see that the MultiPartRequest provided contains a valid image.
It will also set the fileName which it extracts from the provived request.
Note that this method will set errors on the provided Action directly.
- Parameters:
multiPartRequest
- to process