|
Spring Integration | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.integration.http.multipart.SimpleMultipartFileReader
public class SimpleMultipartFileReader
MultipartFileReader
implementation that does not maintain metadata from
the original MultipartFile
instance. Instead this simply reads the file
content directly as either a String or byte array depending on the Content-Type.
Constructor Summary | |
---|---|
SimpleMultipartFileReader()
|
Method Summary | |
---|---|
java.lang.Object |
readMultipartFile(org.springframework.web.multipart.MultipartFile multipartFile)
Reads MultipartFile content. |
void |
setDefaultMultipartCharset(java.lang.String defaultCharset)
Specify the default charset name to use when converting multipart file content into Strings if the multipart itself does not provide a charset. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleMultipartFileReader()
Method Detail |
---|
public void setDefaultMultipartCharset(java.lang.String defaultCharset)
public java.lang.Object readMultipartFile(org.springframework.web.multipart.MultipartFile multipartFile) throws java.io.IOException
MultipartFileReader
MultipartFile
content.
readMultipartFile
in interface MultipartFileReader<java.lang.Object>
java.io.IOException
|
Spring Integration | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |