org.apache.commons.fileupload.FileUpload Class Reference

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

org.apache.commons.fileupload.FileUploadBase

List of all members.


Detailed Description

High level API for processing file uploads.

This class handles multiple files per single HTML widget, sent using multipart/mixed encoding type, as specified by RFC 1867. Use parseRequest(HttpServletRequest) to acquire a list of org.apache.commons.fileupload.FileItems associated with a given HTML widget.

How the data for individual parts is stored is determined by the factory used to create them; a given part may be in memory, on disk, or somewhere else.

Author:
Rafal Krzewski

Daniel Rall

Jason van Zyl

John McNally

Martin Cooper

Sean C. Sullivan

Version:
Id
FileUpload.java,v 1.23 2003/06/24 05:45:43 martinc Exp

Definition at line 89 of file FileUpload.java.


Public Member Functions

 FileUpload ()
 Constructs an instance of this class which uses the default factory to create FileItem instances.
 FileUpload (FileItemFactory fileItemFactory)
 Constructs an instance of this class which uses the supplied factory to create FileItem instances.
FileItemFactory getFileItemFactory ()
 Returns the factory class used when creating file items.
void setFileItemFactory (FileItemFactory factory)
 Sets the factory class to use when creating file items.

Constructor & Destructor Documentation

org.apache.commons.fileupload.FileUpload.FileUpload (  ) 

Constructs an instance of this class which uses the default factory to create FileItem instances.

See also:
FileUpload(FileItemFactory)

Definition at line 111 of file FileUpload.java.

org.apache.commons.fileupload.FileUpload.FileUpload ( FileItemFactory  fileItemFactory  ) 

Constructs an instance of this class which uses the supplied factory to create FileItem instances.

See also:
FileUpload()

Definition at line 123 of file FileUpload.java.


Member Function Documentation

FileItemFactory org.apache.commons.fileupload.FileUpload.getFileItemFactory (  )  [virtual]

Returns the factory class used when creating file items.

Returns:
The factory class for new file items.

Implements org.apache.commons.fileupload.FileUploadBase.

Definition at line 138 of file FileUpload.java.

void org.apache.commons.fileupload.FileUpload.setFileItemFactory ( FileItemFactory  factory  )  [virtual]

Sets the factory class to use when creating file items.

Parameters:
factory The factory class for new file items.

Implements org.apache.commons.fileupload.FileUploadBase.

Definition at line 149 of file FileUpload.java.


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