public class XMLMemory extends BasicMemory
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
knowledgeBaseFileName |
Constructor and Description |
---|
XMLMemory() |
Modifier and Type | Method and Description |
---|---|
void |
restore()
Reload the long-term memory from the XML file.
|
void |
save()
Write the long-term memory to the XML file.
|
abort, addActiveMemory, addListener, awake, cacheSize, clearProperties, createMemory, createMemory, createMemoryFromTemplate, createMemoryFromTemplate, deleteMemory, destroyMemory, destroyMemory, fastRestore, find, findInstances, findInstances, findReferences, findReferencesBy, freeMemory, getActiveMemory, getBot, getListeners, getLongTermMemory, getMemoryName, getProperties, getProperty, getShortTermMemory, importMemory, initialize, initMemory, loadProperties, newMemory, pool, removeListener, removeProperty, restore, setActiveMemory, setBot, setLongTermMemory, setProperties, setProperty, setShortTermMemory, shutdown, switchMemory, switchMemory, toString
public void save() throws MemoryStorageException
save
in interface Memory
save
in class BasicMemory
MemoryStorageException
public void restore()
restore
in interface Memory
restore
in class BasicMemory