Example usage for Java org.apache.commons.configuration SubnodeConfiguration fields, constructors, methods, implement or subclass
The text is from its open source code.
void | addProperty(String key, Object value) |
void | clear() |
SubnodeConfiguration | configurationAt(String key) Returns a hierarchical subnode configuration for the node specified by the given key. |
List | configurationsAt(String key) Returns a list of sub configurations for all configuration nodes selected by the given key. |
boolean | containsKey(String key) Checks if the specified key is contained in this configuration. |
boolean | getBoolean(String key, boolean defaultValue) |
boolean | getBoolean(String key) |
double | getDouble(String key) |
int | getInt(String key, int defaultValue) |
int | getInt(String key) |
Integer | getInteger(String key, Integer defaultValue) |
Iterator | getKeys() Returns an iterator with all keys defined in this configuration. |
Iterator | getKeys(String prefix) Returns an iterator with all keys defined in this configuration that start with the given prefix. |
List | getList(String key) |
long | getLong(String key) |
long | getLong(String key, long defaultValue) |
int | getMaxIndex(String key) Returns the maximum defined index for the given key. |
HierarchicalConfiguration | getParent() Returns the parent configuration of this subnode configuration. |
Object | getProperty(String key) Fetches the specified property. |
Node | getRoot() Returns the root node of this hierarchical configuration. |
ConfigurationNode | getRootNode() Returns the root node for this configuration. |
String | getString(String key) |
String | getString(String key, String defaultValue) |
String[] | getStringArray(String key) Get an array of strings associated with the given configuration key. |
String | getSubnodeKey() Returns the key that was used to construct this configuration. |
boolean | isEmpty() Checks if this configuration is empty. |
void | setDelimiterParsingDisabled(boolean delimiterParsingDisabled) Set whether this configuration should use delimiters when parsing property values to convert them to lists of values. |
void | setProperty(String key, Object value) Sets the value of the specified property. |