|
Hyades Datapool Specification | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A datapool factory manages the construction and sharing of
IDatapool
objects. This interface supports sharing
of editable datapools.
Method Summary | |
IDatapool |
load(java.io.File dpFile,
boolean sharedInstance)
Load the datapool from the specified file. |
void |
save(IDatapool datapool)
Persists the specified instance of a datapool. |
void |
saveAs(IDatapool datapool,
java.io.File dpFile)
Persists the specified instance of a datapool to the specified file. |
void |
unload(IDatapool datapool)
Removes a reference to an instance of a datapool. |
Method Detail |
public IDatapool load(java.io.File dpFile, boolean sharedInstance)
sharedInstance
is requested then the cache of
other datapools that have been opened is checked for an
existing copy of the datapool. Note that modifying a shared
instance of the datapool may effect other uses of the datapool
and should only be done in a confined execution environment.
dpFile
- The datapool file name.sharedInstance
- Available for sharing instances of
the datapool, which can save significantly
on datapool loading overhead.unload(IDatapool)
public void unload(IDatapool datapool)
datapool
- The datapool instance being unloaded.load(java.io.File,boolean)
public void save(IDatapool datapool)
saveAs
method
should be used to save the file.
datapool
- The datapool instance being saved.load(java.io.File,boolean)
,
unload(IDatapool)
,
saveAs(IDatapool,java.io.File)
public void saveAs(IDatapool datapool, java.io.File dpFile)
datapool
- The datapool instance being saved.dpFile
- The file to which the datapool is to be saved.load(java.io.File,boolean)
,
unload(IDatapool)
,
save(IDatapool)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |