|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A simple query interface for a configuration.
| Method Summary | |
java.lang.String |
getConfigProperty(java.lang.String key)
Returns the configuration property with the specified key. |
java.lang.String |
getConfigProperty(java.lang.String key,
java.lang.String defaultValue)
Returns the configuration property with the specified key (or the specified default value if there is no such property). |
| Method Detail |
public java.lang.String getConfigProperty(java.lang.String key)
key - the property key.
public java.lang.String getConfigProperty(java.lang.String key,
java.lang.String defaultValue)
If the property is not defined in this configuration, the code will lookup the property in the parent configuration.
key - the property key.defaultValue - the default value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||