org.apache.commons.fileupload.FileItemFactory Interface Reference

Inheritance diagram for org.apache.commons.fileupload.FileItemFactory:

org.apache.commons.fileupload.DefaultFileItemFactory

List of all members.


Detailed Description

A factory interface for creating FileItem instances. Factories can provide their own custom configuration, over and above that provided by the default file upload implementation.

Author:
Martin Cooper
Version:
Id
FileItemFactory.java,v 1.1 2003/04/27 17:30:06 martinc Exp

Definition at line 75 of file FileItemFactory.java.


Package Functions

FileItem createItem (String fieldName, String contentType, boolean isFormField, String fileName)
 Create a new FileItem instance from the supplied parameters and any local factory configuration.

Member Function Documentation

FileItem org.apache.commons.fileupload.FileItemFactory.createItem ( String  fieldName,
String  contentType,
boolean  isFormField,
String  fileName 
) [package]

Create a new FileItem instance from the supplied parameters and any local factory configuration.

Parameters:
fieldName The name of the form field.
contentType The content type of the form field.
isFormField true if this is a plain form field; false otherwise.
fileName The name of the uploaded file, if any, as supplied by the browser or other client.
Returns:
The newly created file item.

Implemented in org.apache.commons.fileupload.DefaultFileItemFactory.

Referenced by org.apache.commons.fileupload.FileUploadBase.createItem().


The documentation for this interface was generated from the following file:
Generated on Mon Jan 11 21:19:18 2010 for OpenMobileIS by  doxygen 1.5.4