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 TreadMultipartFile(org.springframework.web.multipart.MultipartFile multipartFile)ReadMultipartFilecontent.
-
Method Details
-
readMultipartFile
T readMultipartFile(org.springframework.web.multipart.MultipartFile multipartFile) throws java.io.IOExceptionReadMultipartFilecontent.- Parameters:
multipartFile- The multipart file.- Returns:
- The result of reading the file.
- Throws:
java.io.IOException- Any IOException.
-