你好,游客 登录 注册 搜索
背景:
阅读新闻

Commons-IO 2.4 发布

[日期:2012-07-06] 来源:Linux社区  作者:Linux [字体:大 中 小]

Commons-io 2.4 发布了,Commons项目中用来处理IO的一些工具类包,该版本改进记录包括:

New features:
o IO-269:  Tailer locks file from deletion/rename on Windows. Thanks to sebb.
o IO-333:  Export OSGi packages at version 1.x in addition to 2.x. Thanks to fmeschbe.
o IO-320:  Add XmlStreamReader support for UTF-32. Thanks to ggregory.
o IO-331:  BOMInputStream wrongly detects UTF-32LE_BOM files as UTF-16LE_BOM files in method getBOM(). Thanks to ggregory.
o IO-327:  Add byteCountToDisplaySize(BigInteger). Thanks to ggregory.
o IO-326:  Add new FileUtils.sizeOf[Directory] APIs to return BigInteger. Thanks to ggregory, kinow.
o IO-325:  Add IOUtils.toByteArray methods to work with URL and URI. Thanks to raviprak.
o IO-324:  Add missing Charset sister APIs to method that take a String charset name. Thanks to raviprak.

Fixed Bugs:
o IO-336:  Yottabyte (YB) incorrectly defined in FileUtils. Thanks to rleavelle.
o IO-279:  Tailer erroneously considers file as new. Thanks to Sergio Bossa, Chris Baron.
o IO-335:  Tailer#readLines - incorrect CR handling.
o IO-334:  FileUtils.toURLs throws NPE for null parameter; document the behavior.
o IO-332:  Improve tailer's reading performance. Thanks to liangly.
o IO-279:  Improve Tailer performance with buffered reads (see IO-332).
o IO-329:  FileUtils.writeLines uses unbuffered IO. Thanks to tivv.
o IO-319:  FileUtils.sizeOfDirectory follows symbolic links. Thanks to raviprak.

Commons-IO 的下载地址:请点这里

linux
相关资讯       Commons-io 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款