|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Settings
Defines an interface reading a configuration file.
| Method Summary | |
|---|---|
String |
getSetting(String key)
Search for a key in the configuration file. |
String |
getSetting(String key,
String defaultValue)
Search for a key in the configuration file. |
String |
getSetting(String primaryKey,
String defaultKey,
String defaultValue)
|
| Method Detail |
|---|
String getSetting(String key)
throws SettingNotFoundException
key - to search for
SettingNotFoundException - if the key is not found
String getSetting(String key,
String defaultValue)
key - to search fordefaultValue - return this value if the key is not found
String getSetting(String primaryKey,
String defaultKey,
String defaultValue)
primaryKey - to search fordefaultKey - to search for if the primaryKey is not founddefaultValue - return this value if the defaultKey is not found
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||