Example usage for Java org.apache.commons.configuration AbstractConfiguration fields, constructors, methods, implement or subclass
The text is from its open source code.
int | EVENT_ADD_PROPERTY Constant for the add property event type. |
int | EVENT_CLEAR_PROPERTY Constant for the clear property event type. |
int | EVENT_SET_PROPERTY Constant for the set property event type. |
int | EVENT_CLEAR Constant for the clear configuration event type. |
int | EVENT_READ_PROPERTY Constant for the get property event type. |
AbstractConfiguration() Creates a new instance of AbstractConfiguration . |
void | addConfigurationListener(ConfigurationListener l) Adds a configuration listener to this object. |
void | addProperty(String key, Object value) |
void | append(Configuration c) Appends the content of the specified configuration to this configuration. |
void | clear() |
void | clearProperty(String key) Removes the specified property from this configuration. |
boolean | getBoolean(String key, boolean defaultValue) |
Boolean | getBoolean(String key, Boolean defaultValue) Obtains the value of the specified key and tries to convert it into a Boolean object. |
boolean | getBoolean(String key) |
Class> | getClass() Returns the runtime class of this Object . |
char | getDefaultListDelimiter() Retrieve the current delimiter. |
double | getDouble(String key, double defaultValue) |
Double | getDouble(String key, Double defaultValue) |
double | getDouble(String key) |
int | getInt(String key, int defaultValue) |
int | getInt(String key) |
Integer | getInteger(String key, Integer defaultValue) |
ConfigurationInterpolator | getInterpolator() Returns the ConfigurationInterpolator object that manages the lookup objects for resolving variables. |
Iterator | getKeys(final String prefix) |
char | getListDelimiter() Retrieve the delimiter for this configuration. |
long | getLong(String key, long defaultValue) |
Long | getLong(String key, Long defaultValue) |
short | getShort(String key, short defaultValue) |
Short | getShort(String key, Short defaultValue) |
String | getString(String key) |
String | getString(String key, String defaultValue) |
StrSubstitutor | getSubstitutor() Returns the object that is responsible for variable interpolation. |
boolean | isDelimiterParsingDisabled() Determine if this configuration is using delimiters when parsing property values to convert them to lists of values. |
void | setDefaultListDelimiter(char delimiter) For configurations extending AbstractConfiguration, allow them to change the listDelimiter from the default comma (","). |
void | setDelimiterParsingDisabled(boolean delimiterParsingDisabled) Set whether this configuration should use delimiters when parsing property values to convert them to lists of values. |
void | setListDelimiter(char listDelimiter) Change the list delimiter for this configuration. |
void | setProperty(String key, Object value) |
Configuration | subset(String prefix) |