# Uses of Interface
org.apache.commons.fileupload.FileItemFactory

Packages that use FileItemFactory
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.

- ## Uses of FileItemFactory in org.apache.commons.fileupload

  Classes in org.apache.commons.fileupload that implement FileItemFactory
  Modifier and Type
  Class
  Description
  `class`
  `DefaultFileItemFactory`
  Deprecated.
  1.1 Use `DiskFileItemFactory` instead.
  Methods in org.apache.commons.fileupload that return FileItemFactory
  Modifier and Type
  Method
  Description
  `FileItemFactory`
  DiskFileUpload.`getFileItemFactory()`
  Deprecated.
  1.1 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.
  Methods in org.apache.commons.fileupload with parameters of type FileItemFactory
  Modifier and Type
  Method
  Description
  `void`
  DiskFileUpload.`setFileItemFactory(FileItemFactory fileItemFactory)`
  Deprecated.
  1.1 Use `FileUpload` instead.
  `void`
  FileUpload.`setFileItemFactory(FileItemFactory fileItemFactory)`
  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.
  Constructors in org.apache.commons.fileupload with parameters of type FileItemFactory
  Modifier
  Constructor
  Description
  ``
  `FileUpload(FileItemFactory fileItemFactory)`
  Constructs an instance of this class which uses the supplied factory to create `FileItem` instances.

- ## Uses of FileItemFactory in org.apache.commons.fileupload.disk

  Classes in org.apache.commons.fileupload.disk that implement FileItemFactory
  Modifier and Type
  Class
  Description
  `class`
  `DiskFileItemFactory`
  The default `FileItemFactory` implementation.

- ## Uses of FileItemFactory in org.apache.commons.fileupload.portlet

  Constructors in org.apache.commons.fileupload.portlet with parameters of type FileItemFactory
  Modifier
  Constructor
  Description
  ``
  `PortletFileUpload(FileItemFactory fileItemFactory)`
  Constructs an instance of this class which uses the supplied factory to create `FileItem` instances.

- ## Uses of FileItemFactory in org.apache.commons.fileupload.servlet

  Constructors in org.apache.commons.fileupload.servlet with parameters of type FileItemFactory
  Modifier
  Constructor
  Description
  ``
  `ServletFileUpload(FileItemFactory fileItemFactory)`
  Constructs an instance of this class which uses the supplied factory to create `FileItem` instances.