Package | Description |
---|---|
org.apache.commons.fileupload |
A component for handling HTML file uploads as specified by
RFC 1867.
|
org.apache.commons.fileupload.disk |
A disk-based implementation of the
FileItem
interface. |
org.apache.commons.fileupload.portlet |
An implementation of
FileUpload
for use in portlets conforming to JSR 168. |
org.apache.commons.fileupload.servlet |
An implementation of
FileUpload
for use in servlets conforming to JSR 53. |
Modifier and Type | Class | Description |
---|---|---|
class |
DefaultFileItemFactory |
Deprecated.
Use
DiskFileItemFactory instead. |
Modifier and Type | Field | Description |
---|---|---|
private FileItemFactory |
FileUpload.fileItemFactory |
The factory to use to create new form items.
|
Modifier and Type | Method | Description |
---|---|---|
FileItemFactory |
DiskFileUpload.getFileItemFactory() |
Deprecated.
Use
FileUpload instead. |
FileItemFactory |
FileUpload.getFileItemFactory() |
Returns the factory class used when creating file items.
|
abstract FileItemFactory |
FileUploadBase.getFileItemFactory() |
Returns the factory class used when creating file items.
|
Modifier and Type | Method | Description |
---|---|---|
void |
DiskFileUpload.setFileItemFactory(FileItemFactory factory) |
Deprecated.
Use
FileUpload instead. |
void |
FileUpload.setFileItemFactory(FileItemFactory factory) |
Sets the factory class to use when creating file items.
|
abstract void |
FileUploadBase.setFileItemFactory(FileItemFactory factory) |
Sets the factory class to use when creating file items.
|
Constructor | Description |
---|---|
FileUpload(FileItemFactory fileItemFactory) |
Constructs an instance of this class which uses the supplied factory to
create
FileItem instances. |
Modifier and Type | Class | Description |
---|---|---|
class |
DiskFileItemFactory |
The default
FileItemFactory
implementation. |
Constructor | Description |
---|---|
PortletFileUpload(FileItemFactory fileItemFactory) |
Constructs an instance of this class which uses the supplied factory to
create
FileItem instances. |
Constructor | Description |
---|---|
ServletFileUpload(FileItemFactory fileItemFactory) |
Constructs an instance of this class which uses the supplied factory to
create
FileItem instances. |