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

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

Introduction

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

The text is from its open source code.

Implementation

org.apache.commons.configuration.Configuration has the following implementations.
Click this link to see all its implementation.

Method

voidaddProperty(String key, Object value)
Add a property to the configuration.
voidclear()
Remove all properties from the configuration.
voidclearProperty(String key)
Remove a property from the configuration.
booleancontainsKey(String key)
Check if the configuration contains the specified key.
booleanequals(Object obj)
Indicates whether some other object is "equal to" this one.
BigDecimalgetBigDecimal(String key)
Get a BigDecimal associated with the given configuration key.
BigDecimalgetBigDecimal(String key, BigDecimal defaultValue)
Get a BigDecimal associated with the given configuration key.
BigIntegergetBigInteger(String key)
Get a BigInteger associated with the given configuration key.
BigIntegergetBigInteger(String key, BigInteger defaultValue)
Get a BigInteger associated with the given configuration key.
booleangetBoolean(String key)
Get a boolean associated with the given configuration key.
booleangetBoolean(String key, boolean defaultValue)
Get a boolean associated with the given configuration key.
BooleangetBoolean(String key, Boolean defaultValue)
Get a Boolean associated with the given configuration key.
bytegetByte(String key)
Get a byte associated with the given configuration key.
bytegetByte(String key, byte defaultValue)
Get a byte associated with the given configuration key.
BytegetByte(String key, Byte defaultValue)
Get a Byte associated with the given configuration key.
ClassgetClass()
Returns the runtime class of this Object .
doublegetDouble(String key, double defaultValue)
Get a double associated with the given configuration key.
DoublegetDouble(String key, Double defaultValue)
Get a Double associated with the given configuration key.
doublegetDouble(String key)
Get a double associated with the given configuration key.
floatgetFloat(String key)
Get a float associated with the given configuration key.
floatgetFloat(String key, float defaultValue)
Get a float associated with the given configuration key.
FloatgetFloat(String key, Float defaultValue)
Get a Float associated with the given configuration key.
intgetInt(String key)
Get a int associated with the given configuration key.
intgetInt(String key, int defaultValue)
Get a int associated with the given configuration key.
IntegergetInteger(String key, Integer defaultValue)
Get an Integer associated with the given configuration key.
IteratorgetKeys()
Get the list of the keys contained in the configuration.
IteratorgetKeys(String prefix)
Get the list of the keys contained in the configuration that match the specified prefix.
ListgetList(String key)
Get a List of strings associated with the given configuration key.
ListgetList(String key, List defaultValue)
Get a List of strings associated with the given configuration key.
longgetLong(String key, long defaultValue)
Get a long associated with the given configuration key.
LonggetLong(String key, Long defaultValue)
Get a Long associated with the given configuration key.
longgetLong(String key)
Get a long associated with the given configuration key.
PropertiesgetProperties(String key)
Get a list of properties associated with the given configuration key.
ObjectgetProperty(String key)
Gets a property from the configuration.
shortgetShort(String key)
Get a short associated with the given configuration key.
shortgetShort(String key, short defaultValue)
Get a short associated with the given configuration key.
ShortgetShort(String key, Short defaultValue)
Get a Short associated with the given configuration key.
StringgetString(String key)
Get a string associated with the given configuration key.
StringgetString(String key, String defaultValue)
Get a string associated with the given configuration key.
String[]getStringArray(String key)
Get an array of strings associated with the given configuration key.
booleanisEmpty()
Check if the configuration is empty.
voidsetProperty(String key, Object value)
Set a property, this will replace any previously set values.
Configurationsubset(String prefix)
Return a decorator Configuration containing every key from the current Configuration that starts with the specified prefix.