Example usage for Java org.apache.commons.fileupload DefaultFileItem fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | isFormField Whether or not this item is a simple form field. |
String | getFieldName() Returns the name of the field in the multipart form corresponding to this file item. |
String | getName() Returns the original filename in the client's filesystem. |
File | getStoreLocation() Returns the java.io.File object for the FileItem 's data's temporary location on the disk. |
String | getString() Returns the contents of the file as a String, using the default character encoding. |
void | write(File file) A convenience method to write an uploaded item to disk. |