Example usage for Java org.apache.wicket.markup.html.form.upload FileUpload fields, constructors, methods, implement or subclass
The text is from its open source code.
FileUpload(final FileItem item) Constructor |
void | closeStreams() Close the streams which has been opened when getting the InputStream using #getInputStream() . |
void | delete() Deletes temp file from disk |
byte[] | getBytes() |
String | getClientFileName() |
String | getContentType() |
InputStream | getInputStream() Get an input stream for the file uploaded. |
byte[] | getMD5() Get the MD5 checksum. |
long | getSize() |
void | writeTo(final File file) Saves this file upload to a given file on the server side. |
File | writeToTempFile() Convenience method that copies the input stream returned by #getInputStream() into a temporary file. |