|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--net.sf.whatsnew.config.Config
Config file wrapper. Supports user given properties file
| Constructor Summary | |
Config()
Creates a new Config object. |
|
Config(java.io.File configProperties)
Creates a new Config object. |
|
| Method Summary | |
java.lang.String |
getString(java.lang.String key)
Obtain config entry based on key value |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Config()
public Config(java.io.File configProperties)
throws java.io.FileNotFoundException,
java.io.IOException
configProperties - The external properties files to loadjava.io.FileNotFoundException - If file doesn't existjava.io.IOException - in case of IO error| Method Detail |
public java.lang.String getString(java.lang.String key)
key - The key to lookup for
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||