package org.springframework.web.multipart; import org.springframework.core.io.InputStreamSource; import java.io.File; import java.io.IOException; import java.io.InputStream; public interface MultipartFile extends InputStreamSource { String getName(); String getOriginalFilename(); String getContentType(); boolean isEmpty(); long getSize(); byte[] getBytes() throws IOException; @Override InputStream getInputStream() throws IOException; void transferTo(File dest) throws IOException, IllegalStateException; }