The apache-commons-configuration rpms
This repository has been archived on 2026-01-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
Find a file
2024-07-16 11:19:56 -06:00
.gitignore Version 2.9.0 2023-07-18 22:17:27 -06:00
apache-commons-configuration-jexl3.patch Version 2.10.1 (CVE-2024-29131, CVE-2024-29133) 2024-03-21 09:04:30 -06:00
apache-commons-configuration-servlet5.patch Version 2.10.0 2024-03-12 20:58:36 -06:00
apache-commons-configuration.spec Minor spec file simplifications 2024-07-16 11:19:56 -06:00
changelog Version 2.9.0 2023-07-18 22:17:27 -06:00
KEYS Version 2.10.0 2024-03-12 20:58:36 -06:00
README.md Version 2.9.0 2023-07-18 22:17:27 -06:00
sources Version 2.11.0 2024-06-10 15:56:54 -06:00

apache-commons-configuration

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.