May 26, 2018

Java package for the reading of configuration/preferences files

Commons Configuration provides a generic configuration interface which enables an application to read configuration data from a variety of sources. Commons Configuration provides typed access to single, and multi-valued configuration parameters.

Configuration parameters may be loaded from the following sources

  • Properties files
  • XML documents
  • JNDI
  • JDBC Datasource

Different configuration sources can be mixed using a ConfigurationFactory and CompositeConfiguration. Additional sources of configuration parameters can be created by using custom configuration objects. This customization can be achieved by extending AbstractConfiguration.

WWW http//