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