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
ImmutableNodeobjects.A specialized visitor base class that can be used for storing the tree of configuration nodes.A hierarchical composite configuration class.CompositeConfigurationallows you to add multipleConfigurationobjects 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 theLookupinterface which uses aConfigurationobject to resolve variables.TheConfigurationMapwraps a configuration-collectionConfigurationinstance to provide aMapinterface.Sets of entries in the map.Miscellaneous utility methods for configurations.A base class for "faked"XMLReaderclasses 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 theFileBasedandConfigurationinterfaces.A specializedNodeVisitorimplementation 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 specializedInvocationHandlerimplementation for supporting immutable configurations.A specializedIteratorimplementation 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 byConfigurationimplementations 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 byAbstractConfigurationto 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 theIOFactoryinterface.Definition of an interface that allows customization of read and write operations.An alternativePropertiesConfiguration.IOFactorythat tries to mimic the behavior ofProperties(Jup) more closely.APropertiesConfiguration.PropertiesReaderthat tries to mimic the behavior ofProperties.APropertiesConfiguration.PropertiesWriterthat 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 byPropertiesConfigurationto 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 concreteBuilderVisitorthat 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.