|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.rosuda.util.GlobalConfig
public class GlobalConfig
| Constructor Summary | |
|---|---|
GlobalConfig()
|
|
| Method Summary | |
|---|---|
Object[] |
getAllParameters()
each parameter name consists of the plugin name and the parameter name, separated by a dot. |
static GlobalConfig |
getGlobalConfig()
|
String |
getParS(String Par)
get String-valued parameter |
static String |
getS(String Par)
|
boolean |
loadSettings()
load settings from the current config file |
boolean |
loadSettings(String fName)
load settings from the specified file. note that the specified file is NOT automatically used as current config file. |
boolean |
saveSettings()
save settings to the current config file |
boolean |
setParS(String Par,
String Val)
set String-valued parameter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GlobalConfig()
| Method Detail |
|---|
public static GlobalConfig getGlobalConfig()
public String getParS(String Par)
Par - name of the parameter
null if such parameter doesn't existpublic static String getS(String Par)
public Object[] getAllParameters()
public boolean setParS(String Par,
String Val)
Par - name of the parameterVal - value to be set
true if successful, false otherwisepublic boolean saveSettings()
public boolean loadSettings()
true on success, false otherwisepublic boolean loadSettings(String fName)
true on success, false otherwise
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||