Example usage for Java org.springframework.web.multipart.commons CommonsMultipartFile fields, constructors, methods, implement or subclass
The text is from its open source code.
CommonsMultipartFile(FileItem fileItem) Create an instance wrapping the given FileItem. |
byte[] | getBytes() |
String | getContentType() |
FileItem | getFileItem() Return the underlying org.apache.commons.fileupload.FileItem instance. |
InputStream | getInputStream() |
String | getName() |
String | getOriginalFilename() |
long | getSize() |
String | getStorageDescription() Return a description for the storage location of the multipart content. |
boolean | isEmpty() |
void | setPreserveFilename(boolean preserveFilename) Set whether to preserve the filename as sent by the client, not stripping off path information in CommonsMultipartFile#getOriginalFilename() . |
void | transferTo(File dest) |
void | transferTo(Path dest) |