|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Configuration | |
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 style configuration. |
org.apache.commons.configuration.web |
This package contains some implementations of the Configuration
interface that are useful in web environments.
|
Uses of Configuration in org.apache.commons.configuration |
Subinterfaces of Configuration in org.apache.commons.configuration | |
interface |
FileConfiguration
A persistent configuration loaded and saved to a file. |
Classes in org.apache.commons.configuration that implement Configuration | |
class |
AbstractConfiguration
Abstract configuration class. |
class |
AbstractFileConfiguration
Partial implementation of the FileConfiguration interface.
|
class |
AbstractHierarchicalFileConfiguration
Base class for implementing file based hierarchical configurations. |
protected class |
AbstractHierarchicalFileConfiguration.FileConfigurationDelegate
A special implementation of the FileConfiguration interface that is
used internally to implement the FileConfiguration methods
for hierarchical configurations. |
class |
BaseConfiguration
Basic configuration classe. |
class |
CombinedConfiguration
A hierarchical composite configuration class. |
class |
CompositeConfiguration
This Configuration class allows you to add multiple different types of Configuration to this CompositeConfiguration. |
class |
DatabaseConfiguration
Configuration stored in a database. |
class |
DataConfiguration
Decorator providing additional getters for any Configuration. |
class |
DefaultConfigurationBuilder
A factory class that creates a composite configuration from an XML based configuration definition file. |
class |
HierarchicalConfiguration
A specialized configuration class that extends its base class by the ability of keeping more structure in the stored properties. |
class |
HierarchicalXMLConfiguration
Deprecated. This class is deprecated. Use XMLConfiguration
instead, which supports all features this class had offered before. |
class |
JNDIConfiguration
This Configuration class allows you to interface with a JNDI datasource. |
class |
MapConfiguration
A Map based Configuration. |
class |
PropertiesConfiguration
This is the "classic" Properties loader which loads the values from a single or multiple files (which can be chained with "include =". |
class |
SubnodeConfiguration
A specialized hierarchical configuration class that wraps a single node of its parent configuration. |
class |
SubsetConfiguration
A subset of another configuration. |
class |
SystemConfiguration
A configuration based on the system properties. |
class |
XMLConfiguration
A specialized hierarchical configuration class that is able to parse XML documents. |
class |
XMLPropertiesConfiguration
This configuration implements the XML properties format introduced in Java 5.0, see http://java.sun.com/j2se/1.5.0/docs/api/java/util/Properties.html. |
Fields in org.apache.commons.configuration declared as Configuration | |
protected Configuration |
SubsetConfiguration.parent
The parent configuration. |
protected Configuration |
DataConfiguration.configuration
Stores the wrapped configuration. |
Methods in org.apache.commons.configuration that return Configuration | |
Configuration |
SubsetConfiguration.getParent()
Return the parent configuation for this subset. |
Configuration |
SubsetConfiguration.subset(String prefix)
Return a decorator Configuration containing every key from the current Configuration that starts with the specified prefix. The prefix is removed from the keys in the subset. For example, if the configuration contains the following properties: prefix.number = 1 prefix.string = Apache prefixed.foo = bar prefix = Jakartathe Configuration returned by subset("prefix") will contain
the properties:
number = 1 string = Apache = Jakarta(The key for the value "Jakarta" is an empty string) Since the subset is a decorator and not a modified copy of the initial Configuration, any change made to the subset is available to the Configuration, and reciprocally. |
Configuration |
HierarchicalConfigurationXMLReader.getParsedConfiguration()
Returns the configuration object to be processed. |
Configuration |
HierarchicalConfiguration.subset(String prefix)
Creates a new Configuration object containing all keys
that start with the specified prefix. |
Configuration |
DefaultConfigurationBuilder.getConfiguration()
Returns the configuration provided by this builder. |
Configuration |
DataConfiguration.getConfiguration()
Return the configuration decorated by this DataConfiguration. |
abstract Configuration |
ConfigurationXMLReader.getParsedConfiguration()
Returns a reference to the configuration that is parsed by this object. |
static Configuration |
ConfigurationUtils.cloneConfiguration(Configuration config)
Clones the given configuration object if this is possible. |
Configuration |
ConfigurationMap.getConfiguration()
Returns the wrapped Configuration object. |
Configuration |
ConfigurationFactory.getConfiguration()
Return the configuration provided by this factory. |
Configuration |
ConfigurationFactory.AdditionalConfigurationData.getConfiguration()
Returns the configuration object. |
protected Configuration |
ConfigurationFactory.ConfigurationBuilder.createAdditionalConfiguration(Collection configs)
Creates a configuration object with the union of all properties defined in the <additional> section. |
static Configuration |
ConfigurationConverter.getConfiguration(ExtendedProperties eprops)
Convert a ExtendedProperties class into a Configuration class. |
static Configuration |
ConfigurationConverter.getConfiguration(Properties props)
Convert a standard Properties class into a configuration class. |
Configuration |
ConfigurationBuilder.getConfiguration()
Returns the configuration provided by this builder. |
Configuration |
Configuration.subset(String prefix)
Return a decorator Configuration containing every key from the current Configuration that starts with the specified prefix. |
Configuration |
CompositeConfiguration.getConfiguration(int index)
Return the configuration at the specified index. |
Configuration |
CompositeConfiguration.getInMemoryConfiguration()
Returns the "in memory configuration". |
Configuration |
CombinedConfiguration.getConfiguration(int index)
Returns the configuration at the specified index. |
Configuration |
CombinedConfiguration.getConfiguration(String name)
Returns the configuration with the given name. |
Configuration |
CombinedConfiguration.removeConfigurationAt(int index)
Removes the configuration at the specified index. |
Configuration |
CombinedConfiguration.removeConfiguration(String name)
Removes the configuration with the specified name. |
Configuration |
BaseConfigurationXMLReader.getConfiguration()
Returns the actual configuration to be processed. |
Configuration |
BaseConfigurationXMLReader.getParsedConfiguration()
Returns the configuration to be processed. |
Configuration |
AbstractConfiguration.subset(String prefix)
Return a decorator Configuration containing every key from the current Configuration that starts with the specified prefix. The prefix is removed from the keys in the subset. For example, if the configuration contains the following properties: prefix.number = 1 prefix.string = Apache prefixed.foo = bar prefix = Jakartathe Configuration returned by subset("prefix") will contain
the properties:
number = 1 string = Apache = Jakarta(The key for the value "Jakarta" is an empty string) Since the subset is a decorator and not a modified copy of the initial Configuration, any change made to the subset is available to the Configuration, and reciprocally. |
Methods in org.apache.commons.configuration with parameters of type Configuration | |
boolean |
StrictConfigurationComparator.compare(Configuration a,
Configuration b)
Compare two configuration objects. |
void |
HierarchicalConfigurationConverter.process(Configuration config)
Processes the specified configuration object. |
protected String |
HierarchicalConfigurationConverter.openElements(ConfigurationKey keyLast,
ConfigurationKey keyAct,
Configuration config,
Set keySet)
Fires all necessary element start events for the specified key. |
static void |
ConfigurationUtils.dump(Configuration configuration,
PrintStream out)
Dump the configuration key/value mappings to some ouput stream. |
static void |
ConfigurationUtils.dump(Configuration configuration,
PrintWriter out)
Dump the configuration key/value mappings to some writer. |
static String |
ConfigurationUtils.toString(Configuration configuration)
Get a string representation of the key/value mappings of a configuration. |
static void |
ConfigurationUtils.copy(Configuration source,
Configuration target)
Copy all properties from the source configuration to the target configuration. |
static void |
ConfigurationUtils.append(Configuration source,
Configuration target)
Append all properties from the source configuration to the target configuration. |
static HierarchicalConfiguration |
ConfigurationUtils.convertToHierarchical(Configuration conf)
Converts the passed in configuration to a hierarchical one. |
static Configuration |
ConfigurationUtils.cloneConfiguration(Configuration config)
Clones the given configuration object if this is possible. |
void |
ConfigurationFactory.AdditionalConfigurationData.addConfiguration(Configuration config)
Sets the configuration object. |
void |
ConfigurationFactory.ConfigurationBuilder.addConfiguration(Configuration conf)
Adds a new configuration to this object. |
static ExtendedProperties |
ConfigurationConverter.getExtendedProperties(Configuration config)
Convert a Configuration class into a ExtendedProperties class. |
static Properties |
ConfigurationConverter.getProperties(Configuration config)
Convert a Configuration class into a Properties class. |
static Map |
ConfigurationConverter.getMap(Configuration config)
Convert a Configuration class into a Map class. |
boolean |
ConfigurationComparator.compare(Configuration a,
Configuration b)
Compare two configuration objects. |
void |
CompositeConfiguration.addConfiguration(Configuration config)
Add a configuration. |
void |
CompositeConfiguration.removeConfiguration(Configuration config)
Remove a configuration. |
boolean |
CombinedConfiguration.removeConfiguration(Configuration config)
Removes the specified configuration from this combined configuration. |
void |
BaseConfigurationXMLReader.setConfiguration(Configuration conf)
Sets the configuration to be processed. |
Constructors in org.apache.commons.configuration with parameters of type Configuration | |
SubsetConfiguration(Configuration parent,
String prefix)
Create a subset of the specified configuration |
|
SubsetConfiguration(Configuration parent,
String prefix,
String delimiter)
Create a subset of the specified configuration |
|
DataConfiguration(Configuration configuration)
Creates a new instance of DataConfiguration and sets the
wrapped configuration. |
|
ConfigurationMap(Configuration configuration)
Creates a new instance of a ConfigurationMap
that wraps the specified Configuration
instance. |
|
ConfigurationMap.ConfigurationSet(Configuration configuration)
|
|
CompositeConfiguration(Configuration inMemoryConfiguration)
Creates a CompositeConfiguration object with a specified in memory configuration. |
|
CompositeConfiguration(Configuration inMemoryConfiguration,
Collection configurations)
Creates a CompositeConfiguration with a specified in memory configuration, and then adds the given collection of configurations. |
|
BaseConfigurationXMLReader(Configuration conf)
Creates a new instance of BaseConfigurationXMLReader and
sets the configuration object to be parsed. |
Uses of Configuration in org.apache.commons.configuration.beanutils |
Constructors in org.apache.commons.configuration.beanutils with parameters of type Configuration | |
ConfigurationDynaClass(Configuration configuration)
Construct an instance of a ConfigurationDynaClass
wrapping the specified Configuration instance. |
|
ConfigurationDynaBean(Configuration configuration)
Creates a new instance of ConfigurationDynaBean and sets
the configuration this bean is associated with. |
Uses of Configuration in org.apache.commons.configuration.plist |
Classes in org.apache.commons.configuration.plist that implement Configuration | |
class |
PropertyListConfiguration
NeXT / OpenStep style configuration. |
class |
XMLPropertyListConfiguration
Mac OS X configuration file (http://www.apple.com/DTDs/PropertyList-1.0.dtd). |
Uses of Configuration in org.apache.commons.configuration.web |
Classes in org.apache.commons.configuration.web that implement Configuration | |
class |
AppletConfiguration
A configuration wrapper to read applet parameters. |
(package private) class |
BaseWebConfiguration
An abstract base class for all web configurations. |
class |
ServletConfiguration
A configuration wrapper around a ServletConfig . |
class |
ServletContextConfiguration
A configuration wrapper to read the initialization parameters of a servlet context. |
class |
ServletFilterConfiguration
A configuration wrapper around a FilterConfig . |
class |
ServletRequestConfiguration
A configuration wrapper to read the parameters of a servlet request. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |