接口 IBinaryHandle

所有已知实现类:
DefaultBinaryHandle

public interface IBinaryHandle
  • 方法概要

    修饰符和类型
    方法
    说明
    handle(byte[] buf, String contentpath)
    处理二进制的方法
    handle(byte[] buf, String path, String url)
    处理二进制的方法,转换成可下载文件
  • 方法详细资料

    • handle

      String handle(byte[] buf, String contentpath)
      处理二进制的方法
      参数:
      buf - 二进制
      contentpath - 基础路径
      返回:
    • handle

      String handle(byte[] buf, String path, String url)
      处理二进制的方法,转换成可下载文件
      参数:
      buf - 二进制
      path - 基础路径
      url - http前缀,例如 http://www.gezz.cn/aaa/
      返回: