| 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
       FileIteminterface. | 
| org.apache.commons.fileupload.portlet | 
      An implementation of
       FileUploadfor use in portlets conforming to JSR 168. | 
| org.apache.commons.fileupload.servlet | 
      An implementation of
       FileUploadfor use in servlets conforming to JSR 53. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | DefaultFileItemFactoryDeprecated. 
 1.1 Use  DiskFileItemFactoryinstead. | 
| 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  FileUploadinstead. | 
| 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  FileUploadinstead. | 
| 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  FileIteminstances. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | DiskFileItemFactoryThe default  FileItemFactoryimplementation. | 
| Constructor and Description | 
|---|
| PortletFileUpload(FileItemFactory fileItemFactory)Constructs an instance of this class which uses the supplied factory to
 create  FileIteminstances. | 
| Constructor and Description | 
|---|
| ServletFileUpload(FileItemFactory fileItemFactory)Constructs an instance of this class which uses the supplied factory to
 create  FileIteminstances. | 
Copyright © 2002–2019 The Apache Software Foundation. All rights reserved.