|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdk.vajhoej.model.app.Control
public class Control
Class Control reads and writes setup XML files.
Constructor Summary | |
---|---|
Control()
|
Method Summary | |
---|---|
static Data |
load(java.lang.String fnm)
Read setup XML file. |
static void |
replaceStore(Data data,
java.lang.String s1,
java.lang.String s2)
Replace in all storage locations. |
static void |
save(Data data,
java.lang.String fnm)
Write setup XML file. |
static void |
saveAll(Data data,
java.lang.String fnm)
Write setup XML file and write all the rest of the data to the designated storage.. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Control()
Method Detail |
---|
public static Data load(java.lang.String fnm) throws ModelException
fnm
- file name
ModelException
- if problempublic static void save(Data data, java.lang.String fnm) throws ModelException
data
- setup datafnm
- file name
ModelException
- if problempublic static void saveAll(Data data, java.lang.String fnm) throws ModelException
data
- setup datafnm
- file name
ModelException
- if problempublic static void replaceStore(Data data, java.lang.String s1, java.lang.String s2)
data
- setup datas1
- string to search fors2
- string to replace with
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |