Java org.apache.commons.configuration CompositeConfiguration fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.configuration CompositeConfiguration fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.configuration CompositeConfiguration.

The text is from its open source code.

Subclass

org.apache.commons.configuration.CompositeConfiguration has subclasses.
Click this link to see all its subclasses.

Constructor

CompositeConfiguration()
Creates an empty CompositeConfiguration object which can then be added some other Configuration files
CompositeConfiguration(Configuration inMemoryConfiguration)
Creates a CompositeConfiguration object with a specified in memory configuration.
CompositeConfiguration(Collection configurations)
Create a CompositeConfiguration with an empty in memory configuration and adds the collection of configurations specified.

Method

voidaddConfiguration(Configuration config)
Add a configuration.
voidaddProperty(String key, Object value)
booleancontainsKey(String key)
booleangetBoolean(String key)
booleangetBoolean(String key, boolean defaultValue)
ConfigurationgetConfiguration(int index)
Return the configuration at the specified index.
doublegetDouble(String key, double defaultValue)
floatgetFloat(String key, float defaultValue)
ConfigurationgetInMemoryConfiguration()
Returns the "in memory configuration".
intgetInt(String key, int defaultValue)
intgetInt(String key)
IntegergetInteger(String key, Integer defaultValue)
IteratorgetKeys()
IteratorgetKeys(String key)
ListgetList(String key)
ListgetList(String key, List defaultValue)
longgetLong(String key, long defaultValue)
intgetNumberOfConfigurations()
Return the number of configurations.
PropertiesgetProperties(String key, Properties defaults)
Get a list of properties associated with the given configuration key.
ObjectgetProperty(String key)
Read property from underlying composite
StringgetString(String key, String defaultValue)
StringgetString(String key)
String[]getStringArray(String key)
ConfigurationinterpolatedConfiguration()
Returns a configuration with the same content as this configuration, but with all variables replaced by their actual values.
voidsetDelimiter(char delimiter)
Sets the default list delimiter.
voidsetDelimiterParsingDisabled(boolean delimiterParsingDisabled)
Sets a flag whether added values for string properties should be checked for the list delimiter.
voidsetListDelimiter(char listDelimiter)
Sets the character that is used as list delimiter.
voidsetProperty(String key, Object value)
voidsetThrowExceptionOnMissing(boolean throwExceptionOnMissing)
Allows to set the throwExceptionOnMissing flag.
Configurationsubset(String prefix)