Example usage for Java org.springframework.web.multipart MultipartFile fields, constructors, methods, implement or subclass
The text is from its open source code.
byte[] | getBytes() Return the contents of the file as an array of bytes. |
String | getContentType() Return the content type of the file. |
InputStream | getInputStream() Return an InputStream to read the contents of the file from. |
String | getName() Return the name of the parameter in the multipart form. |
String | getOriginalFilename() Return the original filename in the client's filesystem. |
long | getSize() Return the size of the file in bytes. |
boolean | isEmpty() Return whether the uploaded file is empty, that is, either no file has been chosen in the multipart form or the chosen file has no content. |
void | transferTo(File dest) Transfer the received file to the given destination file. |
void | transferTo(Path dest) Transfer the received file to the given destination file. |