| java.lang.Object org.apache.commons.fileupload.disk.DiskFileItem org.apache.commons.fileupload.DefaultFileItem
Constructor Summary | |
public | DefaultFileItem(String fieldName, String contentType, boolean isFormField, String fileName, int sizeThreshold, File repository) Constructs a new DefaultFileItem instance. |
DefaultFileItem | public DefaultFileItem(String fieldName, String contentType, boolean isFormField, String fileName, int sizeThreshold, File repository)(Code) | | Constructs a new DefaultFileItem instance.
Parameters: fieldName - The name of the form field. Parameters: contentType - The content type passed by the browser ornull if not specified. Parameters: isFormField - Whether or not this item is a plain form field, asopposed to a file upload. Parameters: fileName - The original filename in the user's filesystem, ornull if not specified. Parameters: sizeThreshold - The threshold, in bytes, below which items will beretained in memory and above which they will bestored as a file. Parameters: repository - The data repository, which is the directory inwhich files will be created, should the item sizeexceed the threshold. |
Fields inherited from org.apache.commons.fileupload.disk.DiskFileItem | final public static String DEFAULT_CHARSET(Code)(Java Doc)
|
|
|