Interface MultipartFileReader<T>
- Type Parameters:
T
- the expected file content type.
- All Known Implementing Classes:
DefaultMultipartFileReader
,FileCopyingMultipartFileReader
,SimpleMultipartFileReader
public interface MultipartFileReader<T>
Strategy for reading
MultipartFile
content.- Since:
- 2.0
-
Method Summary
Modifier and Type Method Description T
readMultipartFile(org.springframework.web.multipart.MultipartFile multipartFile)
ReadMultipartFile
content.
-
Method Details
-
readMultipartFile
T readMultipartFile(org.springframework.web.multipart.MultipartFile multipartFile) throws java.io.IOExceptionReadMultipartFile
content.- Parameters:
multipartFile
- The multipart file.- Returns:
- The result of reading the file.
- Throws:
java.io.IOException
- Any IOException.
-