类 Base64DecodeMultipartFile
java.lang.Object
plus.hiver.common.utils.Base64DecodeMultipartFile
- 所有已实现的接口:
org.springframework.core.io.InputStreamSource,org.springframework.web.multipart.MultipartFile
public class Base64DecodeMultipartFile
extends Object
implements org.springframework.web.multipart.MultipartFile
base64转为multipartFile工具类
尊重知识产权,CV 请保留版权,海文科技 https://hiver.cc 出品,不允许非法使用,后果自负
- 作者:
- Yazhi Li
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static org.springframework.web.multipart.MultipartFilebase64Convert(String base64) byte[]getBytes()getName()longgetSize()booleanisEmpty()voidtransferTo(File dest) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.springframework.web.multipart.MultipartFile
getResource, transferTo
-
构造器详细资料
-
Base64DecodeMultipartFile
-
-
方法详细资料
-
getName
- 指定者:
getName在接口中org.springframework.web.multipart.MultipartFile
-
getOriginalFilename
- 指定者:
getOriginalFilename在接口中org.springframework.web.multipart.MultipartFile
-
getContentType
- 指定者:
getContentType在接口中org.springframework.web.multipart.MultipartFile
-
isEmpty
public boolean isEmpty()- 指定者:
isEmpty在接口中org.springframework.web.multipart.MultipartFile
-
getSize
public long getSize()- 指定者:
getSize在接口中org.springframework.web.multipart.MultipartFile
-
getBytes
- 指定者:
getBytes在接口中org.springframework.web.multipart.MultipartFile- 抛出:
IOException
-
getInputStream
- 指定者:
getInputStream在接口中org.springframework.core.io.InputStreamSource- 指定者:
getInputStream在接口中org.springframework.web.multipart.MultipartFile- 抛出:
IOException
-
transferTo
- 指定者:
transferTo在接口中org.springframework.web.multipart.MultipartFile- 抛出:
IOExceptionIllegalStateException
-
base64Convert
-