Package com.iizix.comm
Class WSUploadPart
java.lang.Object
com.iizix.comm.WSUploadPart
Class holding the part that is about a file to be uploaded in the web server.
- Author:
- Christopher Mindus
- Field SummaryFields
- Constructor SummaryConstructors
- Method Summary
- Field Details- fileNameThe file name parsed from the multi-part.
- nameThe part name.
- sizepublic final long sizeThe part size in bytes.
 
- Constructor Details- WSUploadPartConstructor.- Parameters:
- fileName- The file name.
- name- The part name.
- size- The part size in bytes.
 
 
- Method Details- onWrittenCalled when the file has been written to disk.- Parameters:
- file- The file written.
- Throws:
- IllegalStateException- If already called.
- NullPointerException- If file is null.
 
- getFileGets the file written on disk.- Returns:
- The file, or null if not yet written.
 
- toStringOutputs to string.