Method Summary |
|
public void | dispose() Dispose of the resources associated with the file upload (this will
happen automatically when the resource is garbage collected). |
public String | getAsString() |
public byte[] | getBytes() Use this method to retrieve the contents of the file as an array of bytes. |
public String | getContentType() Get the content-type that the browser communicated with the request
that included the uploaded file. |
public InputStream | getInputStream() Returns a
java.io.InputStream InputStream for reading the file. |
public String | getOriginalName() Use this method to retrieve the name that the file has on the web
application user's local system. |
public long | getSize() |
public void | write(File file) Write the contents of the uploaded file to a file on the server host. |