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
Author:
Mark Fisher
  • Method Details

    • readMultipartFile

      T readMultipartFile(MultipartFile multipartFile) throws IOException
      Read MultipartFile content.
      Parameters:
      multipartFile - The multipart file.
      Returns:
      The result of reading the file.
      Throws:
      IOException - Any IOException.