Read configuration data from a variety of sources
The Commons Configuration software library provides a generic configuration interface which enables a Java application to read configuration data from a variety of sources. Commons Configuration provides typed access to single, and multi-valued configuration parameters as demonstrated by the following code: Double double = config.getDouble("number"); Integer integer = config.getInteger("number"); 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 Configuration objects are created using configuration builders. Different configuration sources can be mixed using a CombinedConfigurationBuilder and a CombinedConfiguration. Additional sources of configuration parameters can be created by using custom configuration objects. This customization can be achieved by extending AbstractConfiguration or AbstractHierarchicalConfiguration.
Release | Stable | Testing |
---|---|---|
Fedora 42 | 2.11.0-6.fc42 | - |
Fedora 41 | 2.11.0-3.fc41 | - |
Fedora 40 | 2.10.1-1.fc40 | 2.10.1-1.fc40 |
You can contact the maintainers of this package via email at
apache-commons-configuration dash maintainers at fedoraproject dot org
.