|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Configuration
A simple query interface for a configuration.
| Method Summary | |
|---|---|
Object |
clone()
Returns a clone of the object. |
Iterator |
findPropertyKeys(String prefix)
Returns all keys with the given prefix. |
Enumeration |
getConfigProperties()
Returns the configuration properties. |
String |
getConfigProperty(String key)
Returns the configuration property with the specified key. |
String |
getConfigProperty(String key,
String defaultValue)
Returns the configuration property with the specified key (or the specified default value if there is no such property). |
| Method Detail |
|---|
String getConfigProperty(String key)
key - the property key.
String getConfigProperty(String key,
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.
Iterator findPropertyKeys(String prefix)
prefix - the prefix
Enumeration getConfigProperties()
Object clone()
throws CloneNotSupportedException
CloneNotSupportedException - if cloning is not supported for some reason.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||