|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jasen.core.engine.DiskMapStore
Used to load/save a JasenMap to local disk by simply serializing the token map.
This is the simplest implementation of a map store, however is not very portable.
For greater portability it is recommended that alternate map stores be created. To use an alternate map store, specify the map store class in both the JasenTrainer and the RobinsonScanner plugin
PLEASE NOTE however that the auto update service provided assumes a DiskMapStore as the primary store for engine data.
Thus, if you change the MapStore, you will no longer be able to use the jASEN.org auto update service.
You can still use the auto update engine against you OWN update site, just not at jasen.org
JasenTrainer.setStore(JasenMapStore)
,
RobinsonScanner.init(Properties)
Constructor Summary | |
DiskMapStore()
|
Method Summary | |
JasenMap |
load(Object properties)
Loads the map. |
void |
save(JasenMap map,
Object properties)
Saves the map. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DiskMapStore()
Method Detail |
public JasenMap load(Object properties) throws JasenException
JasenMapStore
load
in interface JasenMapStore
properties
- Any properties required by the store to load the map
JasenException
public void save(JasenMap map, Object properties) throws JasenException
JasenMapStore
save
in interface JasenMapStore
map
- properties
- Any properties required by the store to save the map
JasenException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |