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所依赖的包
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 |