Interface IFileProxy

All Known Implementing Classes:
DreamFileProxyFactory

public interface IFileProxy
Author:
dreamfame
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    图片压缩
    path(File file, String dir)
    返回路径[物理路径][虚拟路径]
    rename(File file, String path)
    文件重命名策略
  • Method Details

    • path

      String[] path(File file, String dir)
      返回路径[物理路径][虚拟路径]
      Parameters:
      file - 文件
      dir - 目录
      Returns:
      String
    • rename

      File rename(File file, String path)
      文件重命名策略
      Parameters:
      file - 文件
      path - 路径
      Returns:
      File
    • compress

      void compress(String path)
      图片压缩
      Parameters:
      path - 路径