@NotStorableClass public class SpellCheckJoafipDAO extends Object implements IAutoSaveEventListener, ISpellCheckDAO
Constructor and Description |
---|
SpellCheckJoafipDAO(boolean removeFile) |
Modifier and Type | Method and Description |
---|---|
void |
addKeySet(String key,
Set<String> set) |
void |
addWordSet(String key,
Set<String> set) |
void |
close(boolean save) |
void |
commit() |
boolean |
doSave() |
Set<String> |
getKeySet(String key) |
Set<String> |
getWordSet(String key) |
Set<String> |
newSetOfString() |
void |
saveDone(int numberOfObjectState,
int numberOfWeakreference,
long msDuration)
notify save done
|
public SpellCheckJoafipDAO(boolean removeFile) throws FilePersistenceException, FilePersistenceInvalidClassException, FilePersistenceNotSerializableException, FilePersistenceClassNotFoundException, FilePersistenceDataCorruptedException, FilePersistenceTooBigForSerializationException
public void commit() throws SpellCheckException
commit
in interface ISpellCheckDAO
SpellCheckException
public void close(boolean save) throws SpellCheckException
close
in interface ISpellCheckDAO
SpellCheckException
public Set<String> getWordSet(String key)
getWordSet
in interface ISpellCheckDAO
public void addWordSet(String key, Set<String> set)
addWordSet
in interface ISpellCheckDAO
public Set<String> getKeySet(String key)
getKeySet
in interface ISpellCheckDAO
public void addKeySet(String key, Set<String> set)
addKeySet
in interface ISpellCheckDAO
public Set<String> newSetOfString()
newSetOfString
in interface ISpellCheckDAO
public boolean doSave()
doSave
in interface IAutoSaveEventListener
public void saveDone(int numberOfObjectState, int numberOfWeakreference, long msDuration)
IAutoSaveEventListener
saveDone
in interface IAutoSaveEventListener
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.