Example usage for Java org.apache.commons.fileupload LiferayFileItem fields, constructors, methods, implement or subclass
The text is from its open source code.
void | delete() Deletes the underlying storage for a file item, including deleting any associated temporary disk file. |
String | getContentType() Returns the content type passed by the agent or null if not defined. |
String | getFieldName() Returns the name of the field in the multipart form corresponding to this file item. |
String | getFileName() |
String | getFullFileName() |
InputStream | getInputStream() Returns an java.io.InputStream InputStream that can be used to retrieve the contents of the file. |
long | getSize() Returns the size of the file. |
File | getStoreLocation() Returns the java.io.File object for the FileItem 's data's temporary location on the disk. |
String | getString() |
boolean | isFormField() Determines whether or not a FileItem instance represents a simple form field. |
boolean | isInMemory() Provides a hint as to whether or not the file contents will be read from memory. |
void | setString(String encode) |