Package | Description |
---|---|
org.apache.commons.configuration |
The Configuration main package.
|
org.apache.commons.configuration.beanutils |
In this package a
Configuration implementation can be found that
implements the DynaBean interface. |
org.apache.commons.configuration.plist |
Configuration classes supporting NeXT / OpenStep /GNUStep style configuration.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractHierarchicalFileConfiguration
Base class for implementing file based hierarchical configurations.
|
class |
CombinedConfiguration
A hierarchical composite configuration class.
|
class |
DefaultConfigurationBuilder
A factory class that creates a composite configuration from an XML based
configuration definition file.
|
class |
DynamicCombinedConfiguration
DynamicCombinedConfiguration allows a set of CombinedConfigurations to be used.
|
class |
HierarchicalINIConfiguration
A specialized hierarchical configuration implementation for parsing ini
files.
|
class |
HierarchicalReloadableConfiguration
A base class for hierarchical configurations with specific reloading
requirements.
|
class |
HierarchicalXMLConfiguration
Deprecated.
This class is deprecated. Use
XMLConfiguration
instead, which supports all features this class had offered before. |
class |
MultiFileHierarchicalConfiguration
This class provides access to multiple configuration files that reside in a location that
can be specified by a pattern allowing applications to be multi-tenant.
|
class |
PatternSubtreeConfigurationWrapper
Wraps a HierarchicalConfiguration and allows subtrees to be access via a configured path with
replaceable tokens derived from the ConfigurationInterpolator.
|
class |
SubnodeConfiguration
A specialized hierarchical configuration class that wraps a single node of
its parent configuration.
|
class |
XMLConfiguration
A specialized hierarchical configuration class that is able to parse XML
documents.
|
Modifier and Type | Method and Description |
---|---|
static HierarchicalConfiguration |
ConfigurationUtils.convertToHierarchical(Configuration conf)
Converts the passed in configuration to a hierarchical one.
|
static HierarchicalConfiguration |
ConfigurationUtils.convertToHierarchical(Configuration conf,
ExpressionEngine engine)
Converts the passed in
Configuration object to a
hierarchical one using the specified ExpressionEngine . |
HierarchicalConfiguration |
HierarchicalConfigurationXMLReader.getConfiguration()
Returns the configuration object to be parsed.
|
HierarchicalConfiguration |
SubnodeConfiguration.getParent()
Returns the parent configuration of this subnode configuration.
|
Modifier and Type | Method and Description |
---|---|
List<HierarchicalConfiguration> |
PatternSubtreeConfigurationWrapper.configurationsAt(String key) |
List<HierarchicalConfiguration> |
MultiFileHierarchicalConfiguration.configurationsAt(String key) |
List<HierarchicalConfiguration> |
HierarchicalConfiguration.configurationsAt(String key)
Returns a list of sub configurations for all configuration nodes selected
by the given key.
|
List<HierarchicalConfiguration> |
DynamicCombinedConfiguration.configurationsAt(String key) |
Modifier and Type | Method and Description |
---|---|
protected void |
SubnodeConfiguration.initFromParent(HierarchicalConfiguration parentConfig)
Initializes this subnode configuration from the given parent
configuration.
|
void |
HierarchicalConfigurationXMLReader.setConfiguration(HierarchicalConfiguration config)
Sets the configuration object to be parsed.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultConfigurationBuilder.initCombinedConfiguration(CombinedConfiguration config,
List<? extends HierarchicalConfiguration> containedConfigs,
String keyListNodes)
Initializes a combined configuration for the configurations of a specific
section.
|
Constructor and Description |
---|
AbstractHierarchicalFileConfiguration(HierarchicalConfiguration c)
Creates a new instance of
AbstractHierarchicalFileConfiguration and copies the
content of the specified configuration into this object. |
DefaultConfigurationBuilder.ConfigurationDeclaration(DefaultConfigurationBuilder builder,
HierarchicalConfiguration config)
Creates a new instance of
ConfigurationDeclaration and
initializes it. |
HierarchicalConfiguration(HierarchicalConfiguration c)
Creates a new instance of
HierarchicalConfiguration and
copies all data contained in the specified configuration into the new
one. |
HierarchicalConfigurationXMLReader(HierarchicalConfiguration config)
Creates a new instance of
HierarchicalConfigurationXMLReader and
sets the configuration to be parsed. |
HierarchicalReloadableConfiguration(HierarchicalConfiguration c)
Creates a new instance of
HierarchicalReloadableConfiguration and
copies all data contained in the specified configuration into the new
one. |
SubnodeConfiguration(HierarchicalConfiguration parent,
ConfigurationNode root)
Creates a new instance of
SubnodeConfiguration and
initializes it with the parent configuration and the new root node. |
XMLConfiguration(HierarchicalConfiguration c)
Creates a new instance of
XMLConfiguration and copies the
content of the passed in configuration into this object. |
Constructor and Description |
---|
XMLBeanDeclaration(HierarchicalConfiguration config)
Creates a new instance of
XMLBeanDeclaration and
initializes it from the given configuration. |
XMLBeanDeclaration(HierarchicalConfiguration config,
String key)
Creates a new instance of
XMLBeanDeclaration and
initializes it from the given configuration. |
XMLBeanDeclaration(HierarchicalConfiguration config,
String key,
boolean optional)
Creates a new instance of
XMLBeanDeclaration and
initializes it from the given configuration. |
Modifier and Type | Class and Description |
---|---|
class |
PropertyListConfiguration
NeXT / OpenStep style configuration.
|
class |
XMLPropertyListConfiguration
Property list file (plist) in XML FORMAT as used by Mac OS X (http://www.apple.com/DTDs/PropertyList-1.0.dtd).
|
Constructor and Description |
---|
PropertyListConfiguration(HierarchicalConfiguration c)
Creates a new instance of
PropertyListConfiguration and
copies the content of the specified configuration into this object. |
XMLPropertyListConfiguration(HierarchicalConfiguration configuration)
Creates a new instance of
XMLPropertyListConfiguration and
copies the content of the specified configuration into this object. |
Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.