Apache Commons Compress 1.16 发布,该版本除了错误修复之外还增加了对 Zstandard 的支持。
Commons Compress 库定义了一个使用 ar、 cpio、Unix dump、 tar、zip、gzip、 XZ、Pack200、bzip2、7z、arj、lzma、snappy、DEFLATE、lz4、Brotli 、Z 等格式文件的 API 。
更新内容:
新特性:
o Add read-only support for Zstandard compression based on the
Zstd-jni project.
Issue: COMPRESS-423. Thanks to Andre F de Miranda.
o Added auto-detection for Zstandard compressed streams.
Issue: COMPRESS-425.
o Added write-support for Zstandard compression.
Issue: COMPRESS-426.
o Added read-only DEFLATE64 support to ZIP archives and as
stand-alone CompressorInputStream.
Issue: COMPRESS-380. Thanks to Christian Marquez Grabia.
o Added read-only DEFLATE64 support to 7z archives.
Issue: COMPRESS-437.
修复 Bugs:
o Synchronized iteration over a synchronizedList in
ParallelScatterZipCreator.
Issue: COMPRESS-430. Thanks to Bruno P. Kinoshita.
o ZipFile could get stuck in an infinite loop when parsing ZIP
archives with certain strong encryption headers.
Issue: COMPRESS-432.
o Added improved checks to detect corrupted bzip2 streams and
throw the expected IOException rather than obscure
RuntimeExceptions.
Issue: COMPRESS-424.
下载地址:http://commons.apache.org/proper/commons-compress/download_compress.cgi
来自:开源中国社区