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 specialized visitor that checks if a node is defined.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.Sets of entries in the map.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.Internal class that identifies each Configuration.A simple data class holding information about the current configuration while an operation for a thread is processed.A Configuration implementation that reads the platform specific environment variables using the map returned bySystem.getenv()
.An interface which combines theFileBased
andConfiguration
interfaces.A specializedNodeVisitor
implementation which searches for a specific node in a hierarchy.An interface for mutable hierarchical configurations.A base class for converters that transform a normal configuration object into a hierarchical configuration.A specialized SAX2 XML parser that "parses" hierarchical configuration objects.The main interface for accessing configuration data in a read-only fashion.A specializedInvocationHandler
implementation for supporting immutable configurations.A specializedIterator
implementation which delegates to an underlying iterator, but does not support theremove()
method.An interface for immutable hierarchical configurations.A specialized hierarchical configuration implementation for parsing ini files.Builds instances of INIConfiguration.A specialized node model implementation for the sub configuration representing the global section of the INI file.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.* A specialized iterator implementation used byAbstractConfiguration
to return an iteration over all keys starting with a specified prefix.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.A helper class for storing all layout related information for a configuration property.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.A concreteBuilderVisitor
that can construct XML documents.An internally used helper class for dealing with XML documents.An internal class implementing list handling functionality forXMLConfiguration
.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.