2008-03-22
解读java.util.zip.deflate
Inflater的逆操作
主要关注下构造体:
public Deflater(int level,
boolean nowrap)
Creates a new compressor using the specified compression level. If 'nowrap' is true then the ZLIB header and checksum fields will not be used in order to support the compression format used in both GZIP and PKZIP.
Parameters:
level - the compression level (0-9)
nowrap - if true then use GZIP compatible compress
压缩层次,默认是DEFAULT_COMPRESSION为-1。
同样也有是否兼容模式选项。
DeflateOutputStream/InflateInputStream
根据压缩方法构成一个过滤流。
com.jcraft.jzlib是zlib的开发者。
发表评论
- 浏览: 64420 次
- 性别:

- 来自: 广州

- 详细资料
搜索本博客
最新评论
-
JavaEye之路
引用我也很喜欢JavaEye,比CSDN好 CSDN太杂了规模大了能不大而全吗? ...
-- by Sam1860 -
JavaEye之路
我在这,随便说点啥,博客,论坛,都说我应该是一个新手的帖子。不过我还是呆在这。反 ...
-- by saharabear -
我是穷忙族
-- by lbyzx123 -
JavaEye之路
javaeye目前的问题: 1,缺乏一个好的盈利模式,商业化运作 2,技术定位 ...
-- by kimmking -
JavaEye之路
我也很喜欢JavaEye,比CSDN好 CSDN太杂了
-- by lovefly_zero






评论排行榜