|
Apache Tomcat 7.0.28 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FileItemFactory
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.
Method Summary | |
---|---|
FileItem |
createItem(String fieldName,
String contentType,
boolean isFormField,
String fileName)
Create a new FileItem instance from the supplied parameters and
any local factory configuration. |
Method Detail |
---|
FileItem createItem(String fieldName, String contentType, boolean isFormField, String fileName)
FileItem
instance from the supplied parameters and
any local factory configuration.
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.
|
Apache Tomcat 7.0.28 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |