Java org.apache.commons.configuration2 PropertiesConfiguration fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.configuration2 PropertiesConfiguration fields, constructors, methods, implement or subclass

Introduction

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

The text is from its open source code.

Constructor

PropertiesConfiguration()
Creates an empty PropertyConfiguration object which can be used to synthesize a new Properties file by adding values and then saving().

Method

voidaddProperty(final String key, final Object value)
voidclear()
voidclearProperty(final String key)
Removes the specified property from this configuration.
booleancontainsKey(final String key)
This implementation handles synchronization and delegates to containsKeyInternal() .
booleangetBoolean(final String key)
doublegetDouble(final String key)
floatgetFloat(final String key)
intgetInt(final String key)
IteratorgetKeys()
This implementation takes care of synchronization and then delegates to getKeysInternal() for obtaining the actual iterator.
IteratorgetKeys(final String prefix)
This implementation returns keys that either match the prefix or start with the prefix followed by a dot ('.').
PropertiesConfigurationLayoutgetLayout()
Returns the associated layout object.
ObjectgetProperty(final String key)
This implementation ensures proper synchronization.
StringgetString(final String key)
voidread(final Reader in)
This implementation delegates to the associated layout object which does the actual loading.
voidsetIOFactory(final IOFactory ioFactory)
Sets the IOFactory to be used for creating readers and writers when loading or saving this configuration.
voidsetProperty(final String key, final Object value)
intsize()
This implementation handles synchronization and delegates to sizeInternal() .