List of usage examples for org.springframework.integration.http.multipart MultipartFileReader interface-usage
From source file net.gbmb.collector.rest.MyMultipartFileReader.java
public class MyMultipartFileReader implements MultipartFileReader<CollectionRecord> { @Override public CollectionRecord readMultipartFile(MultipartFile multipartFile) throws IOException { CollectionRecord cr = new CollectionRecord(); cr.setRecordDate(new Date());
From source file org.springframework.integration.http.multipart.FileCopyingMultipartFileReader.java
/**
* {@link MultipartFileReader} implementation that copies the MulitpartFile's
* content to a new temporary File in the specified directory. If no directory
* is provided, the Files will be created in the default temporary directory.
*
* @author Mark Fisher