类 RustfsManage

java.lang.Object
plus.hiver.rustfs.manage.impl.RustfsManage
所有已实现的接口:
FileManage

@Component public class RustfsManage extends Object implements FileManage

尊重知识产权,CV 请保留版权,海文科技 https://hiver.cc 出品,不允许非法使用,后果自负

作者:
Yazhi Li
  • 构造器详细资料

    • 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

      public String inputStreamUpload(InputStream inputStream, String fileName)
      从接口复制的说明: FileManage
      文件流上传
      指定者:
      inputStreamUpload 在接口中 FileManage
      参数:
      inputStream - 输入流
      fileName - 文件名
      返回:
      结果
    • renameFile

      public String renameFile(String fromKey, String toKey)
      从接口复制的说明: FileManage
      重命名文件
      指定者:
      renameFile 在接口中 FileManage
      参数:
      fromKey - 原key
      toKey - 新key
      返回:
      结果
    • copyFile

      public String copyFile(String fromKey, String toKey)
      从接口复制的说明: FileManage
      拷贝文件
      指定者:
      copyFile 在接口中 FileManage
      参数:
      fromKey - 原key
      toKey - 新key
      返回:
      结果
    • deleteFile

      public void deleteFile(String key)
      从接口复制的说明: FileManage
      删除文件
      指定者:
      deleteFile 在接口中 FileManage
      参数:
      key - 文件名