程序包 cn.godmao.utils

类 CompressUtil

java.lang.Object
cn.hutool.extra.compress.CompressUtil
cn.godmao.utils.CompressUtil

public class CompressUtil extends cn.hutool.extra.compress.CompressUtil
压缩工具类
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    static byte[]
    compress(byte[] data)
    压缩数据
    static byte[]
    uncompress(byte[] data)
    解压数据

    从类继承的方法 cn.hutool.extra.compress.CompressUtil

    createArchiver, createArchiver, createExtractor, createExtractor, createExtractor, createExtractor, getIn, getOut

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • CompressUtil

      public CompressUtil()
  • 方法详细资料

    • compress

      public static byte[] compress(byte[] data) throws Exception
      压缩数据
      抛出:
      Exception
    • uncompress

      public static byte[] uncompress(byte[] data) throws Exception
      解压数据
      抛出:
      Exception