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

Apache Commons IO 2.1 发布

[日期:2011-10-11] 来源:Linux社区  作者:Linux [字体:大 中 小]

Apache Commons IO 2.1 发布了,这是从 2.0.1 版本直接升级,包括7个新特性以及一些bug修复。

新特性:

o Use standard Maven directory layout
o Add IOUtils API toString for URL and URI to get contents
o Add API FileUtils.copyFile(File input, OutputStream output)
o FileAlterationObserver has no getter for FileFilter
o Add FileUtils.getFile API with varargs parameter
o Add new APPEND parameter for writing string into files
o Add new read method "toByteArray" to handle InputStream with known size.

修复的bug:

o Dubious use of mkdirs() return code
o ReaderInputStream enters infinite loop when it encounters an unmappable character
o FileUtils.moveFile() JavaDoc should specify FileExistsException thrown
o ClassLoaderObjectInputStream does not handle Proxy classes
o Tailer returning partial lines when reaching EOF before EOL
o FileUtils.copyFile() throws IOException when copying large files to a shared directory (on Windows)
o FileSystemUtils.freeSpaceKb throws exception for Windows volumes with no visible files.

下载地址:http://commons.apache.org/io/download_io.cgi

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

       

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