设为首页收藏本站

LUPA开源社区

 找回密码
 注册
文章 帖子 博客
LUPA开源社区 首页 业界资讯 软件追踪 查看内容

Commons Configuration 2.1发布,Java配置文件读写

2016-8-22 22:58| 发布者: joejoe0332| 查看: 920| 评论: 0|原作者: oschina|来自: oschina

摘要: Apache Commons Configuration 2.1 发布了,Apache Commons Configuration 是 Apache 提供的一个组件,用于读取保存有配置参数的 XML 文件。该版本是Apache Commons Configuration 2.x 的首个维护版,修复了一些 bug ...

Apache Commons Configuration 2.1 发布了,Apache Commons Configuration 是 Apache 提供的一个组件,用于读取保存有配置参数的 XML 文件。该版本是 Apache Commons Configuration  2.x 的首个维护版,修复了一些 bug,也提供了一些新功能,例如对于 Spring 框架更好的整合。要注意的是,这个组件需要在 Java 1.6 或更高的版本上使用。

该版本更新如下:

New Features

  • CONFIGURATION-636

  • PropertiesConfigurationLayout now allows manipulating the order of keys when the properties file is written.

  • CONFIGURATION-624

  • Support Commons Configuration as PropertySource in Spring.

Fixed Bugs

  • CONFIGURATION-634

  • HomeDirectoryLocationStrategy now works correctly in the mode that evaluates the FileLocator's base path.

  • CONFIGURATION-633

  • Interpolation was improved to better support properties with multiple values.

  • CONFIGURATION-632

  • The methods getStringArray() and getList() of CompositeConfiguration now support the interpolation of variables that reference properties with multiple values.

  • CONFIGURATION-622

  • Fixed a problem in INIConfiguration.write() with keys containing a separator character. This separator had been duplicated. Such keys are now handled correctly when the configuration is saved.

Other changes

  • CONFIGURATION-628

  • Support for the ant build was dropped.

  • CONFIGURATION-626

  • ImmutableConfiguration.getArray() has been deprecated. Arrays can now be queried using the generic get() method in a type-safe way.

  • CONFIGURATION-631

  • Updated optional dependency to Apache Commons VFS from 2.0 to 2.1. (The older version still works.)

  • CONFIGURATION-635

  • Updated optional dependency to Apache Commons Codec from 1.9 to 1.10. (The older version still works.)

查看官方更新说明以了解更多:http://www.apache.org/dist/commons/configuration/RELEASE-NOTES.txt

下载地址:http://commons.apache.org/proper/commons-configuration/download_configuration.cgi

主页:http://www.apache.org/dist/commons/configuration/


酷毙

雷人

鲜花

鸡蛋

漂亮
  • 快毕业了,没工作经验,
    找份工作好难啊?
    赶紧去人才芯片公司磨练吧!!

最新评论

关于LUPA|人才芯片工程|人才招聘|LUPA认证|LUPA教育|LUPA开源社区 ( 浙B2-20090187 浙公网安备 33010602006705号   

返回顶部