This class handles multiple files per single HTML widget, sent using multipart/mixed
encoding type, as specified by RFC 1867. Use parseRequest(HttpServletRequest) to acquire a list of org.apache.commons.fileupload.FileItems associated with a given HTML widget.
How the data for individual parts is stored is determined by the factory used to create them; a given part may be in memory, on disk, or somewhere else.
Definition at line 89 of file FileUpload.java.
Public Member Functions | |
FileUpload () | |
Constructs an instance of this class which uses the default factory to create FileItem instances. | |
FileUpload (FileItemFactory fileItemFactory) | |
Constructs an instance of this class which uses the supplied factory to create FileItem instances. | |
FileItemFactory | getFileItemFactory () |
Returns the factory class used when creating file items. | |
void | setFileItemFactory (FileItemFactory factory) |
Sets the factory class to use when creating file items. |
org.apache.commons.fileupload.FileUpload.FileUpload | ( | ) |
Constructs an instance of this class which uses the default factory to create FileItem
instances.
Definition at line 111 of file FileUpload.java.
org.apache.commons.fileupload.FileUpload.FileUpload | ( | FileItemFactory | fileItemFactory | ) |
Constructs an instance of this class which uses the supplied factory to create FileItem
instances.
Definition at line 123 of file FileUpload.java.
FileItemFactory org.apache.commons.fileupload.FileUpload.getFileItemFactory | ( | ) | [virtual] |
Returns the factory class used when creating file items.
Implements org.apache.commons.fileupload.FileUploadBase.
Definition at line 138 of file FileUpload.java.
void org.apache.commons.fileupload.FileUpload.setFileItemFactory | ( | FileItemFactory | factory | ) | [virtual] |
Sets the factory class to use when creating file items.
factory | The factory class for new file items. |
Implements org.apache.commons.fileupload.FileUploadBase.
Definition at line 149 of file FileUpload.java.