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