Class UploadedMultipartFile
java.lang.Object
org.springframework.integration.http.multipart.UploadedMultipartFile
- All Implemented Interfaces:
 InputStreamSource,MultipartFile
A 
MultipartFile implementation that represents an uploaded File.
 The actual file content either exists in memory (in a byte array) or in a File.- Since:
 - 2.0
 - Author:
 - Mark Fisher, Gary Russell
 
- 
Constructor Summary
ConstructorsConstructorDescriptionUploadedMultipartFile(byte[] bytes, String contentType, String formParameterName, String originalFilename) UploadedMultipartFile(File file, long size, String contentType, String formParameterName, String originalFilename)  - 
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.web.multipart.MultipartFile
getResource, transferTo 
- 
Constructor Details
- 
UploadedMultipartFile
 - 
UploadedMultipartFile
 
 - 
 - 
Method Details
- 
getName
- Specified by:
 getNamein interfaceMultipartFile
 - 
getBytes
- Specified by:
 getBytesin interfaceMultipartFile- Throws:
 IOException
 - 
getContentType
- Specified by:
 getContentTypein interfaceMultipartFile
 - 
getInputStream
- Specified by:
 getInputStreamin interfaceInputStreamSource- Specified by:
 getInputStreamin interfaceMultipartFile- Throws:
 IOException
 - 
getOriginalFilename
- Specified by:
 getOriginalFilenamein interfaceMultipartFile
 - 
getSize
public long getSize()- Specified by:
 getSizein interfaceMultipartFile
 - 
isEmpty
public boolean isEmpty()- Specified by:
 isEmptyin interfaceMultipartFile
 - 
transferTo
- Specified by:
 transferToin interfaceMultipartFile- Throws:
 IOExceptionIllegalStateException
 
 -