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

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

Introduction

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

The text is from its open source code.

Constructor

CommonsMultipartFile(FileItem fileItem)
Create an instance wrapping the given FileItem.

Method

byte[]getBytes()
StringgetContentType()
FileItemgetFileItem()
Return the underlying org.apache.commons.fileupload.FileItem instance.
InputStreamgetInputStream()
StringgetName()
StringgetOriginalFilename()
longgetSize()
StringgetStorageDescription()
Return a description for the storage location of the multipart content.
booleanisEmpty()
voidsetPreserveFilename(boolean preserveFilename)
Set whether to preserve the filename as sent by the client, not stripping off path information in CommonsMultipartFile#getOriginalFilename() .
voidtransferTo(File dest)
voidtransferTo(Path dest)