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

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

Introduction

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

The text is from its open source code.

Subclass

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

Field

intEVENT_ADD_PROPERTY
Constant for the add property event type.
intEVENT_CLEAR_PROPERTY
Constant for the clear property event type.
intEVENT_SET_PROPERTY
Constant for the set property event type.
intEVENT_CLEAR
Constant for the clear configuration event type.
intEVENT_READ_PROPERTY
Constant for the get property event type.

Constructor

AbstractConfiguration()
Creates a new instance of AbstractConfiguration.

Method

voidaddConfigurationListener(ConfigurationListener l)
Adds a configuration listener to this object.
voidaddProperty(String key, Object value)
voidappend(Configuration c)
Appends the content of the specified configuration to this configuration.
voidclear()
voidclearProperty(String key)
Removes the specified property from this configuration.
booleangetBoolean(String key, boolean defaultValue)
BooleangetBoolean(String key, Boolean defaultValue)
Obtains the value of the specified key and tries to convert it into a Boolean object.
booleangetBoolean(String key)
ClassgetClass()
Returns the runtime class of this Object .
chargetDefaultListDelimiter()
Retrieve the current delimiter.
doublegetDouble(String key, double defaultValue)
DoublegetDouble(String key, Double defaultValue)
doublegetDouble(String key)
intgetInt(String key, int defaultValue)
intgetInt(String key)
IntegergetInteger(String key, Integer defaultValue)
ConfigurationInterpolatorgetInterpolator()
Returns the ConfigurationInterpolator object that manages the lookup objects for resolving variables.
IteratorgetKeys(final String prefix)
chargetListDelimiter()
Retrieve the delimiter for this configuration.
longgetLong(String key, long defaultValue)
LonggetLong(String key, Long defaultValue)
shortgetShort(String key, short defaultValue)
ShortgetShort(String key, Short defaultValue)
StringgetString(String key)
StringgetString(String key, String defaultValue)
StrSubstitutorgetSubstitutor()
Returns the object that is responsible for variable interpolation.
booleanisDelimiterParsingDisabled()
Determine if this configuration is using delimiters when parsing property values to convert them to lists of values.
voidsetDefaultListDelimiter(char delimiter)
For configurations extending AbstractConfiguration, allow them to change the listDelimiter from the default comma (",").
voidsetDelimiterParsingDisabled(boolean delimiterParsingDisabled)
Set whether this configuration should use delimiters when parsing property values to convert them to lists of values.
voidsetListDelimiter(char listDelimiter)
Change the list delimiter for this configuration.
voidsetProperty(String key, Object value)
Configurationsubset(String prefix)