红联Linux门户
Linux帮助

Apache Commons Compress 1.9发布

发布时间:2014-10-11 11:32:10来源:红联作者:empast
Apache Commons Compress 1.9 发布,此版本现已提供下载,在没有 GZIP 的情况下支持原始压缩流;修复了 7z 和 tar 包相关的 bug;改进了对 Java 库 XZ 的检测。

更新内容如下:

新特性
Added support for DEFLATE streams without any gzip framing.
Issue: COMPRESS-263.
Thanks to Matthias Stevens.

Bugs 修复
When reading 7z files unknown file properties and properties of type
kDummy are now ignored.
Issue: COMPRESS-287.
Expanding 7z archives using LZMA compression could cause an
EOFException.
Issue: COMPRESS-286.
Long-Name and -link or PAX-header entries in TAR archives always had
the current time as last modfication time, creating archives that
are different at the byte level each time an archive was built.
Issue: COMPRESS-289.
Thanks to Bob Robertson.

改进
Checking for XZ for Java may be expensive. The result will now be
cached outside of an OSGi environment. You can use the new
XZUtils#setCacheXZAvailability to overrride this default behavior.
Issue: COMPRESS-285.

Commons Compress 用以实现将文件压缩或解压成 tar、zip、bzip2 等格式。

下载地址:http://commons.apache.org/proper/commons-compress/download_compress.cgihttp://commons.apache.org/proper/commons-compress/download_compress.cgi

来自:开源中国社区
文章评论

共有 1 条评论

  1. demo1431 于 2014-10-11 17:27:55发表:

    感谢分享