类 BaseZip
java.lang.Object
com.weicoder.common.zip.base.BaseZip
- 所有已实现的接口:
Zip
基础压缩实现
- 作者:
- WD
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明byte[]compress(byte[] b) 压缩数据compress(InputStream in) 压缩数据<E extends OutputStream>
Ecompress(InputStream in, E out) 压缩数据byte[]extract(byte[] b) 解压数据extract(InputStream in) 解压数据<E extends OutputStream>
Eextract(InputStream in, E out) 解压数据protected abstract InputStreamis(InputStream in) 根据子类实现生成解压流protected abstract OutputStreamos(OutputStream os) 根据子类实现生成压缩流
-
构造器详细资料
-
BaseZip
public BaseZip()
-
-
方法详细资料
-
compress
public byte[] compress(byte[] b) 从接口复制的说明:Zip压缩数据 -
extract
public byte[] extract(byte[] b) 从接口复制的说明:Zip解压数据 -
compress
从接口复制的说明:Zip压缩数据 -
extract
从接口复制的说明:Zip解压数据 -
compress
从接口复制的说明:Zip压缩数据 -
extract
从接口复制的说明:Zip解压数据 -
is
根据子类实现生成解压流- 参数:
in- 字节输入流- 返回:
- 抛出:
Exception
-
os
根据子类实现生成压缩流- 参数:
os- 字节输出流- 返回:
- 抛出:
Exception
-