Apache Commons Compress 1.13 发布了,Apache Commons Compress 库定义了一个用于处理 ar、cpio、tar、zip、7z、arj、dump、gzip、pack200、bzip2、lzma、snappy、Z、xz 和 deflate 文件的 Java API 。 更新内容: The
7z package as well as ZipArchiveOutputStream and ZipFile can now
use SeekableByteChannel when random acces is needed. This allows
archives to be read from inputs and written to outputs that are seekable
but are not represented by Files. It is now possible to add Compressor- and ArchiverStream implementations using the JDK's ServiceLoader mechanism. Please see Extending Commons Compress. Added support for writing the legacy LZMA format as compressor stream and inside 7z archives - this requires XZ for Java 1.6.
下载地址: |