|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectclarion.options.transfer.Transfer
Field Summary | |
protected int |
AMN
for generic input/output format. |
protected int |
BL
|
protected int |
GKS
for generic input/output format. |
protected Global |
global
Global settings. |
protected int |
INPUT
for generic input/output format. |
protected java.io.RandomAccessFile |
loadedFile
the files for loading or saving the user option-selecting data. |
protected java.lang.String |
loadedFileName
the names of files for loading or saving the user option-selecting data. |
protected TransferManager |
manager
|
protected int |
OFF
|
protected int |
ON
|
protected int |
OUTPUT
for generic input/output format. |
protected int |
SAVE_TO_FILE
constants indicates save options to associated Global object or persistent storage |
protected int |
SAVE_TO_GLOBAL
constants indicates save options to associated Global object or persistent storage |
protected int |
saveCode
|
protected java.io.RandomAccessFile |
savedFile
the files for loading or saving the user option-selecting data. |
protected java.lang.String |
savedFileName
the names of files for loading or saving the user option-selecting data. |
protected java.lang.String |
subsysPath
|
protected static java.io.File |
sysDir
|
protected Option[][][][][][] |
sysOptions
used to store the user and system default options. |
protected static java.lang.String |
sysPath
variables for locating files. |
protected java.io.File |
sysSettingDir
|
protected java.lang.String |
sysSettingPath
|
protected int |
TL
|
protected Option[][][][][][] |
userOptions
used to store the user and system default options. |
protected int |
WM
for generic input/output format. |
Constructor Summary | |
Transfer(TransferManager manager,
Global global)
constructor. |
Method Summary | |
Option[] |
getOptions(int dim1,
int dim2,
int dim3,
int dim4,
int dim5)
Get an array of particular options. |
Option |
getOptions(int dim1,
int dim2,
int dim3,
int dim4,
int dim5,
int dim6)
Get a particular option. |
void |
load()
The process of loading options. |
Option[] |
loadOptions(java.lang.String path)
load options from persistent storage with particulary path. |
void |
save()
The process of saving options. |
void |
saveOptions(java.lang.String path,
Option[] opts)
save the options to persistent storage with particular path. |
java.lang.String |
searchFile(java.lang.String subSysName)
search a most suitable setting directory for a particular subystem. |
java.lang.String |
searchFile(java.lang.String subSysName,
java.lang.String fileName)
search a most suitable setting directory for a particular subystem name and file name for a component in that subsystem. |
void |
setGlobal(Global global)
Sets the associated Global object. |
void |
setSaveCode(int code)
Set the mode of saving options: 0: save to Global object; 1: save to persistent storage. |
void |
setupGenericFormat(int compType,
int inOut,
int netIdx,
Option opt)
Sets up the inpt/output dimension information for WM, GKS, AMN. |
void |
update()
the process of update. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected final int SAVE_TO_GLOBAL
protected final int SAVE_TO_FILE
protected final int WM
protected final int GKS
protected final int AMN
protected final int INPUT
protected final int OUTPUT
protected final int ON
protected final int OFF
protected final int TL
protected final int BL
protected TransferManager manager
protected Global global
protected int saveCode
protected java.lang.String loadedFileName
protected java.lang.String savedFileName
protected java.io.RandomAccessFile loadedFile
protected java.io.RandomAccessFile savedFile
protected Option[][][][][][] userOptions
protected Option[][][][][][] sysOptions
protected static java.lang.String sysPath
protected static java.io.File sysDir
protected java.lang.String sysSettingPath
protected java.io.File sysSettingDir
protected java.lang.String subsysPath
Constructor Detail |
public Transfer(TransferManager manager, Global global)
Method Detail |
public void setGlobal(Global global)
global
- the Global object to set.public void load()
public void save()
public void update()
public Option[] getOptions(int dim1, int dim2, int dim3, int dim4, int dim5)
public Option getOptions(int dim1, int dim2, int dim3, int dim4, int dim5, int dim6)
public void setSaveCode(int code)
code
- the mode of saving options.public Option[] loadOptions(java.lang.String path)
public void saveOptions(java.lang.String path, Option[] opts)
public void setupGenericFormat(int compType, int inOut, int netIdx, Option opt)
public java.lang.String searchFile(java.lang.String subSysName)
subSysName
- the name of the subsystem.public java.lang.String searchFile(java.lang.String subSysName, java.lang.String fileName)
subSysName
- the name of the subsystem.fileName
- file name for component.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |