|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.androidpn.server.util.ConfigManager
public class ConfigManager
This class is to manage the applicatin configruation.
Method Summary | |
---|---|
org.apache.commons.configuration.Configuration |
getConfig()
Returns the loaded configuration object. |
static ConfigManager |
getInstance()
Returns the singleton instance of ConfigManger. |
void |
loadConfig()
Loads the default configuration file. |
void |
loadConfig(java.lang.String configFileName)
Loads the specific configuration file. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ConfigManager getInstance()
public void loadConfig()
public void loadConfig(java.lang.String configFileName)
configFileName
- the file namepublic org.apache.commons.configuration.Configuration getConfig()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |