Commons Configuration的主要功能:
Configuration parameters may be loaded from the following sources:
Properties files
XML documents
Windows INI files
Property list files (plist)
JNDI
JDBC Datasource
System properties
Applet parameters
Servlet parameters
Commons Configuration所依赖的包
Properties files
XML documents
Windows INI files
Property list files (plist)
JNDI
JDBC Datasource
System properties
Applet parameters
Servlet parameters
Commons Configuration所依赖的包
| Component | Dependencies |
|---|---|
| Core | Java 1.3 commons-collections commons-lang commons-logging |
| ConfigurationFactory | commons-digester commons-beanutils Java 1.4 or xml-apis |
| DefaultConfigurationBuilder | commons-beanutils Java 1.4 or (xml-apis + xerces + xalan) |
| DatabaseConfiguration | JDBC 3.0 (Java 1.4 or jdbc2_0-stdext.jar) |
| XMLConfiguration | Java 1.4 or (xml-apis + xerces + xalan) |
| XMLPropertiesConfiguration | Java 1.4 or (xml-apis + xerces) |
| PropertyListConfiguration | commons-codec |
| XMLPropertyListConfiguration | commons-codec Java 1.4 or xml-apis |
| ConfigurationDynaBean | commons-beanutils |
| XPathExpressionEngine | commons-jxpath |
| EnvironmentConfiguration | Java 1.5 or ant 1.6.5 |
本文介绍了Apache Commons Configuration组件的主要功能及应用场景。Commons Configuration可以从多种来源加载配置参数,如属性文件、XML文档等,并列举了各个模块所依赖的第三方库。
760

被折叠的 条评论
为什么被折叠?



