| 构造器和说明 |
|---|
BASE64DecodedMultipartFile(byte[] imgContent,
String header) |
| 限定符和类型 | 方法和说明 |
|---|---|
byte[] |
getBytes() |
String |
getContentType() |
InputStream |
getInputStream() |
String |
getName() |
String |
getOriginalFilename() |
long |
getSize() |
boolean |
isEmpty() |
void |
transferTo(File dest) |
public BASE64DecodedMultipartFile(byte[] imgContent,
String header)
public String getName()
getName 在接口中 org.springframework.web.multipart.MultipartFilepublic String getOriginalFilename()
getOriginalFilename 在接口中 org.springframework.web.multipart.MultipartFilepublic String getContentType()
getContentType 在接口中 org.springframework.web.multipart.MultipartFilepublic boolean isEmpty()
isEmpty 在接口中 org.springframework.web.multipart.MultipartFilepublic long getSize()
getSize 在接口中 org.springframework.web.multipart.MultipartFilepublic byte[] getBytes()
throws IOException
getBytes 在接口中 org.springframework.web.multipart.MultipartFileIOExceptionpublic InputStream getInputStream() throws IOException
getInputStream 在接口中 org.springframework.core.io.InputStreamSourcegetInputStream 在接口中 org.springframework.web.multipart.MultipartFileIOExceptionpublic void transferTo(File dest) throws IOException
transferTo 在接口中 org.springframework.web.multipart.MultipartFileIOExceptionCopyright © 2017–2021 cn.gtmap. All rights reserved.