内容简介:Compress 1.15 发布了,包含对 tar 和 zip 格式的大修复和小改进 。此外,jar 的 manifest 文件现在包含一个 Automatic-Module-Name entry ,用于当 jar 在 Java 9 中被用作自动模块时,确保名称是 org.apache...
Compress 1.15 发布了,包含对 tar 和 zip 格式的大修复和小改进 。此外,jar 的 manifest 文件现在包含一个 Automatic-Module-Name entry ,用于当 jar 在 Java 9 中被用作自动模块时,确保名称是 org.apache.commons.compress 。
Commons Compress 库定义了一个使用 ar、 cpio、Unix dump、 tar、zip、gzip、 XZ、Pack200、bzip2、7z、arj、lzma、snappy、DEFLATE、lz4、Brotli 、Z 等格式文件的 API 。
新特性:
o Added magic MANIFEST entry Automatic-Module-Name so the module name will be org.apache.commons.compress when the jar is used as an automatic module in Java9. Issue: COMPRESS-397. o Added a new utility class FixedLengthBlockOutputStream that can be used to ensure writing always happens in blocks of a given size. Issue: COMPRESS-405. Thanks to Simon Spero. o It is now possible to specify/read custom PAX headers when writing/reading tar archives. Issue: COMPRESS-400. Thanks to Simon Spero.
bug修复:
o Make sure "version needed to extract" in local file header and central directory of a ZIP archive agree with each other. Also ensure the version is set to 2.0 if DEFLATE is used. Issue: COMPRESS-394. o Don't use a data descriptor in ZIP archives when copying a raw entry that already knows its size and CRC information. Issue: COMPRESS-395. o Travis build redundantly repeats compilation and tests redundantly GitHub Pull Request #43. Thanks to Simon Spero. Issue: COMPRESS-413 o The MANIFEST of 1.14 lacks an OSGi Import-Package for XZ for Java. Issue: COMPRESS-396. o BUILDING.md now passes the RAT check. Issue: COMPRESS-406. Thanks to Simon Spero. o Made sure ChecksumCalculatingInputStream receives valid checksum and input stream instances via the constructor. Issue: COMPRESS-412. Thanks to Michael Hausegger. o TarArchiveOutputStream now verifies the block and record sizes specified at construction time are compatible with the tar specification. In particular 512 is the only record size accepted and the block size must be a multiple of 512. Issue: COMPRESS-407. Thanks to Simon Spero. o Fixed class names of CpioArchiveEntry and CpioArchiveInputStream in various Javadocs. Issue: COMPRESS-415. o The code of the extended timestamp zip extra field incorrectly assumed the time was stored as unsigned 32-bit int and thus created incorrect results for years after 2037. Issue: COMPRESS-416. Thanks to Simon Spero. o Removed ZipEncoding code that became obsolete when we started to require Java 5 as baseline long ago. Issue: COMPRESS-410. Thanks to Simon Spero. o The tar package will no longer try to parse the major and minor device numbers unless the entry represents a character or block special file. Issue: COMPRESS-417. o When reading tar headers with name fields containing embedded NULs, the name will now be terminated at the first NUL byte. Issue: COMPRESS-421. Thanks to Roel Spilker. o Simplified TarArchiveOutputStream by replacing the internal buffering with new class FixedLengthBlockOutputStream. Issue: COMPRESS-409.
【声明】文章转载自:开源中国社区 [http://www.oschina.net]
以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网
猜你喜欢:- NPM包(模块)发布、更新、撤销发布
- 有赞灰度发布与蓝绿发布实践
- 【重磅发布】Linkis 0.10.0 版本发布
- BeetlSQL 3.0.9 发布,Idea 插件发布
- 贝密游戏 0.7.0 发布,发布斗地主
- 【重磅发布】DataSphere Studio 0.9.0 版本发布
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
智能Web算法(第2版)
【英】Douglas G. McIlwraith(道格拉斯 G. 麦基尔雷思)、【美】Haralambos Marmanis(哈若拉玛 玛若曼尼斯)、【美】Dmitry Babenko(德米特里•巴邦科) / 达观数据、陈运文 等 / 电子工业出版社 / 2017-7 / 69.00
机器学习一直是人工智能研究领域的重要方向,而在大数据时代,来自Web 的数据采集、挖掘、应用技术又越来越受到瞩目,并创造着巨大的价值。本书是有关Web数据挖掘和机器学习技术的一本知名的著作,第2 版进一步加入了本领域最新的研究内容和应用案例,介绍了统计学、结构建模、推荐系统、数据分类、点击预测、深度学习、效果评估、数据采集等众多方面的内容。《智能Web算法(第2版)》内容翔实、案例生动,有很高的阅......一起来看看 《智能Web算法(第2版)》 这本书的介绍吧!