Package org.apache.commons.configuration2
package org.apache.commons.configuration2
The Configuration main package. It contains the definition of the Configuration
interface and frequently used
implementations like PropertiesConfiguration
(dealing with .properties
files) or
XMLConfiguration
that can load XML documents.
-
ClassDescriptionAbstract configuration class.A specialized configuration class that extends its base class by the ability of keeping more structure in the stored properties.A base class for configuration implementations based on YAML structures.Basic configuration class.A specialized SAX2 XML parser that processes configuration objects.A specialized hierarchical configuration implementation that is based on a structure of
ImmutableNode
objects.A specialized visitor base class that can be used for storing the tree of configuration nodes.A hierarchical composite configuration class.CompositeConfiguration
allows you to add multipleConfiguration
objects to an aggregated configuration.The main Configuration interface.Comparator for configurations interface.A Configuration task that may throw a ConfigurationException.Configuration converter.An interface for decoding encoded values from a configuration source.A specialized implementation of theLookup
interface which uses aConfiguration
object to resolve variables.TheConfigurationMap
wraps a configuration-collectionConfiguration
instance to provide aMap
interface.Miscellaneous utility methods for configurations.A base class for "faked"XMLReader
classes that transform a configuration object in a set of SAX parsing events.Configuration stored in a database.Decorator providing additional getters for any Configuration.DynamicCombinedConfiguration allows a set of CombinedConfigurations to be used.A Configuration implementation that reads the platform specific environment variables using the map returned bySystem.getenv()
.An interface which combines theFileBased
andConfiguration
interfaces.An interface for mutable hierarchical configurations.A specialized SAX2 XML parser that "parses" hierarchical configuration objects.The main interface for accessing configuration data in a read-only fashion.An interface for immutable hierarchical configurations.A specialized hierarchical configuration implementation for parsing ini files.Builds instances of INIConfiguration.Definition of an interface to be implemented byConfiguration
implementations which support a special initialization method.This Configuration class allows you to interface with a JNDI datasource.A specialized hierarchical configuration class that is able to parse JSON documents.A Map based Configuration.Wraps a BaseHierarchicalConfiguration and allows subtrees to be accessed via a configured path with replaceable tokens derived from the ConfigurationInterpolator.This is the "classic" Properties loader which loads the values from a single or multiple files (which can be chained with "include =".A default implementation of theIOFactory
interface.Definition of an interface that allows customization of read and write operations.An alternativePropertiesConfiguration.IOFactory
that tries to mimic the behavior ofProperties
(Jup) more closely.APropertiesConfiguration.PropertiesReader
that tries to mimic the behavior ofProperties
.APropertiesConfiguration.PropertiesWriter
that tries to mimic the behavior ofProperties
.This class is used to read properties lines.This class is used to write properties lines.A helper class used byPropertiesConfiguration
to keep the layout of a properties file.Strict comparator for configurations.A specialized hierarchical configuration class with a node model that uses a tracked node of another node model as its root node.A subset of another configuration.A configuration based on the system properties.A specialized hierarchical configuration class that is able to parse XML documents.This configuration implements the XML properties format introduced in Java, see https://docs.oracle.com/javase/8/docs/api/java/util/Properties.html.A specialized hierarchical configuration class that is able to parse YAML documents.