public interface FileWrapperAdapter
| 限定符和类型 | 方法和说明 |
|---|---|
FileWrapper |
getFileWrapper(Object source,
String name,
String contentType,
Long size)
获取文件包装
|
boolean |
isSupport(Object source)
是否支持
|
default FileWrapper |
updateFileWrapper(FileWrapper fileWrapper,
String name,
String contentType,
Long size)
更新文件包装参数
|
boolean isSupport(Object source)
FileWrapper getFileWrapper(Object source, String name, String contentType, Long size) throws IOException
IOExceptiondefault FileWrapper updateFileWrapper(FileWrapper fileWrapper, String name, String contentType, Long size)
Copyright © 2023. All rights reserved.