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 and Description |
---|---|
class |
DefaultFileItemFactory
Deprecated.
1.1 Use
DiskFileItemFactory instead. |
Modifier and Type | Method and Description |
---|---|
FileItemFactory |
FileUpload.getFileItemFactory()
Returns the factory class used when creating file items.
|
FileItemFactory |
DiskFileUpload.getFileItemFactory()
Deprecated.
1.1 Use
FileUpload instead. |
abstract FileItemFactory |
FileUploadBase.getFileItemFactory()
Returns the factory class used when creating file items.
|
Modifier and Type | Method and Description |
---|---|
void |
FileUpload.setFileItemFactory(FileItemFactory factory)
Sets the factory class to use when creating file items.
|
void |
DiskFileUpload.setFileItemFactory(FileItemFactory factory)
Deprecated.
1.1 Use
FileUpload instead. |
abstract void |
FileUploadBase.setFileItemFactory(FileItemFactory factory)
Sets the factory class to use when creating file items.
|
Constructor and Description |
---|
FileUpload(FileItemFactory fileItemFactory)
Constructs an instance of this class which uses the supplied factory to
create
FileItem instances. |
Modifier and Type | Class and Description |
---|---|
class |
DiskFileItemFactory
The default
FileItemFactory
implementation. |
Constructor and Description |
---|
PortletFileUpload(FileItemFactory fileItemFactory)
Constructs an instance of this class which uses the supplied factory to
create
FileItem instances. |
Constructor and Description |
---|
ServletFileUpload(FileItemFactory fileItemFactory)
Constructs an instance of this class which uses the supplied factory to
create
FileItem instances. |
Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.