|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.calfater.mailcarbon.util.Config
public class Config
The Class Config.
| Nested Class Summary | |
|---|---|
class |
Config.Key
The Class Key. |
| Method Summary | |
|---|---|
static Config |
getInstance()
Gets the single instance of Config. |
java.lang.String |
getProperty(java.lang.String keyName)
Gets the property. |
java.lang.String |
getProperty(java.lang.String keyName,
java.lang.String defaultValue)
Gets the property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static final Config getInstance()
public java.lang.String getProperty(java.lang.String keyName)
keyName - the key name
public java.lang.String getProperty(java.lang.String keyName,
java.lang.String defaultValue)
keyName - the key namedefaultValue - the default value if the property key is not found
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||