|
||||||||||
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 |
INIConfiguration
An initialization or ini file is a configuration file tpically found on Microsoft's Windows operating system and contains data for Windows based applications. |
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 |
DataConfiguration.configuration
Stores the wrapped configuration. |
protected Configuration |
SubsetConfiguration.parent
The parent configuration. |
Methods in org.apache.commons.configuration that return Configuration | |
---|---|
static Configuration |
ConfigurationUtils.cloneConfiguration(Configuration config)
Clones the given configuration object if this is possible. |
protected Configuration |
ConfigurationFactory.ConfigurationBuilder.createAdditionalConfiguration(Collection configs)
Creates a configuration object with the union of all properties defined in the <additional> section. |
Configuration |
DefaultConfigurationBuilder.getConfiguration()
Returns the configuration provided by this builder. |
Configuration |
DataConfiguration.getConfiguration()
Return the configuration decorated by this DataConfiguration. |
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. |
Configuration |
ConfigurationBuilder.getConfiguration()
Returns the configuration provided by this builder. |
Configuration |
BaseConfigurationXMLReader.getConfiguration()
Returns the actual configuration to be processed. |
static Configuration |
ConfigurationConverter.getConfiguration(ExtendedProperties eprops)
Convert a ExtendedProperties class into a Configuration class. |
Configuration |
CompositeConfiguration.getConfiguration(int index)
Return the configuration at the specified index. |
Configuration |
CombinedConfiguration.getConfiguration(int index)
Returns the configuration at the specified index. |
static Configuration |
ConfigurationConverter.getConfiguration(Properties props)
Convert a standard Properties class into a configuration class. |
Configuration |
CombinedConfiguration.getConfiguration(String name)
Returns the configuration with the given name. |
Configuration |
CompositeConfiguration.getInMemoryConfiguration()
Returns the "in memory configuration". |
Configuration |
SubsetConfiguration.getParent()
Return the parent configuation for this subset. |
Configuration |
HierarchicalConfigurationXMLReader.getParsedConfiguration()
Returns the configuration object to be processed. |
abstract Configuration |
ConfigurationXMLReader.getParsedConfiguration()
Returns a reference to the configuration that is parsed by this object. |
Configuration |
BaseConfigurationXMLReader.getParsedConfiguration()
Returns the configuration to be processed. |
Configuration |
CombinedConfiguration.removeConfiguration(String name)
Removes the configuration with the specified name. |
Configuration |
CombinedConfiguration.removeConfigurationAt(int index)
Removes the configuration at the specified index. |
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 |
HierarchicalConfiguration.subset(String prefix)
Creates a new Configuration object containing all keys
that start with the specified prefix. |
Configuration |
Configuration.subset(String prefix)
Return a decorator Configuration containing every key from the current Configuration that starts with the specified prefix. |
Configuration |
AbstractConfiguration.subset(String prefix)
Return a decorator Configuration containing every key from the current Configuration that starts with the specified prefix. |
Methods in org.apache.commons.configuration with parameters of type Configuration | |
---|---|
void |
ConfigurationFactory.AdditionalConfigurationData.addConfiguration(Configuration config)
Sets the configuration object. |
void |
ConfigurationFactory.ConfigurationBuilder.addConfiguration(Configuration conf)
Adds a new configuration to this object. |
void |
CompositeConfiguration.addConfiguration(Configuration config)
Add a configuration. |
static void |
ConfigurationUtils.append(Configuration source,
Configuration target)
Append all properties from the source configuration to the target configuration. |
static Configuration |
ConfigurationUtils.cloneConfiguration(Configuration config)
Clones the given configuration object if this is possible. |
boolean |
StrictConfigurationComparator.compare(Configuration a,
Configuration b)
Compare two configuration objects. |
boolean |
ConfigurationComparator.compare(Configuration a,
Configuration b)
Compare two configuration objects. |
static HierarchicalConfiguration |
ConfigurationUtils.convertToHierarchical(Configuration conf)
Converts the passed in configuration to a hierarchical one. |
static void |
ConfigurationUtils.copy(Configuration source,
Configuration target)
Copy all properties from the source configuration to the target configuration. |
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 void |
ConfigurationUtils.enableRuntimeExceptions(Configuration src)
Enables runtime exceptions for the specified configuration object. |
static ExtendedProperties |
ConfigurationConverter.getExtendedProperties(Configuration config)
Convert a Configuration class into a ExtendedProperties class. |
static Map |
ConfigurationConverter.getMap(Configuration config)
Convert a Configuration class into a Map class. |
static Properties |
ConfigurationConverter.getProperties(Configuration config)
Convert a Configuration class into a Properties class. |
protected String |
HierarchicalConfigurationConverter.openElements(ConfigurationKey keyLast,
ConfigurationKey keyAct,
Configuration config,
Set keySet)
Fires all necessary element start events for the specified key. |
void |
HierarchicalConfigurationConverter.process(Configuration config)
Processes the specified configuration object. |
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. |
static String |
ConfigurationUtils.toString(Configuration configuration)
Get a string representation of the key/value mappings of a configuration. |
Constructors in org.apache.commons.configuration with parameters of type Configuration | |
---|---|
BaseConfigurationXMLReader(Configuration conf)
Creates a new instance of BaseConfigurationXMLReader and
sets the configuration object to be parsed. |
|
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. |
|
ConfigurationMap.ConfigurationSet(Configuration configuration)
|
|
ConfigurationMap(Configuration configuration)
Creates a new instance of a ConfigurationMap
that wraps the specified Configuration
instance. |
|
DataConfiguration(Configuration configuration)
Creates a new instance of DataConfiguration and sets the
wrapped 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 |
Uses of Configuration in org.apache.commons.configuration.beanutils |
---|
Constructors in org.apache.commons.configuration.beanutils with parameters of type Configuration | |
---|---|
ConfigurationDynaBean(Configuration configuration)
Creates a new instance of ConfigurationDynaBean and sets
the configuration this bean is associated with. |
|
ConfigurationDynaClass(Configuration configuration)
Construct an instance of a ConfigurationDynaClass
wrapping the specified Configuration instance. |
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 |