Java org.springframework.web.multipart MultipartFile fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.web.multipart MultipartFile fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.web.multipart MultipartFile.

The text is from its open source code.

Implementation

org.springframework.web.multipart.MultipartFile has the following implementations.
Click this link to see all its implementation.

Constructor

Method

byte[]getBytes()
Return the contents of the file as an array of bytes.
StringgetContentType()
Return the content type of the file.
InputStreamgetInputStream()
Return an InputStream to read the contents of the file from.
StringgetName()
Return the name of the parameter in the multipart form.
StringgetOriginalFilename()
Return the original filename in the client's filesystem.
longgetSize()
Return the size of the file in bytes.
booleanisEmpty()
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.
voidtransferTo(File dest)
Transfer the received file to the given destination file.
voidtransferTo(Path dest)
Transfer the received file to the given destination file.