类 RustfsManage
java.lang.Object
plus.hiver.rustfs.manage.impl.RustfsManage
- 所有已实现的接口:
FileManage
尊重知识产权,CV 请保留版权,海文科技 https://hiver.cc 出品,不允许非法使用,后果自负
- 作者:
- Yazhi Li
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明拷贝文件voiddeleteFile(String key) 删除文件plus.hiver.module.system.vo.OssSetting获取配置inputStreamUpload(InputStream inputStream, String fileName) 文件流上传inputStreamUpload(InputStream inputStream, String key, org.springframework.web.multipart.MultipartFile file) 文件流上传renameFile(String fromKey, String toKey) 重命名文件
-
构造器详细资料
-
RustfsManage
public RustfsManage()
-
-
方法详细资料
-
getOssSetting
public plus.hiver.module.system.vo.OssSetting getOssSetting()从接口复制的说明:FileManage获取配置- 指定者:
getOssSetting在接口中FileManage- 返回:
- 配置
-
inputStreamUpload
public String inputStreamUpload(InputStream inputStream, String key, org.springframework.web.multipart.MultipartFile file) 从接口复制的说明:FileManage文件流上传- 指定者:
inputStreamUpload在接口中FileManage- 参数:
inputStream- 输入流key- 路径file- 文件- 返回:
- 结果
-
inputStreamUpload
从接口复制的说明:FileManage文件流上传- 指定者:
inputStreamUpload在接口中FileManage- 参数:
inputStream- 输入流fileName- 文件名- 返回:
- 结果
-
renameFile
从接口复制的说明:FileManage重命名文件- 指定者:
renameFile在接口中FileManage- 参数:
fromKey- 原keytoKey- 新key- 返回:
- 结果
-
copyFile
从接口复制的说明:FileManage拷贝文件- 指定者:
copyFile在接口中FileManage- 参数:
fromKey- 原keytoKey- 新key- 返回:
- 结果
-
deleteFile
从接口复制的说明:FileManage删除文件- 指定者:
deleteFile在接口中FileManage- 参数:
key- 文件名
-