@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 ISpellCheckDAOSpellCheckExceptionpublic void close(boolean save)
throws SpellCheckException
close in interface ISpellCheckDAOSpellCheckExceptionpublic Set<String> getWordSet(String key)
getWordSet in interface ISpellCheckDAOpublic void addWordSet(String key, Set<String> set)
addWordSet in interface ISpellCheckDAOpublic Set<String> getKeySet(String key)
getKeySet in interface ISpellCheckDAOpublic void addKeySet(String key, Set<String> set)
addKeySet in interface ISpellCheckDAOpublic Set<String> newSetOfString()
newSetOfString in interface ISpellCheckDAOpublic boolean doSave()
doSave in interface IAutoSaveEventListenerpublic void saveDone(int numberOfObjectState,
int numberOfWeakreference,
long msDuration)
IAutoSaveEventListenersaveDone in interface IAutoSaveEventListenerCopyright © 2007-2012 Luc Peuvrier. All Rights Reserved.