Package com.inet.jortho
Interface UserDictionaryProvider
-
- All Superinterfaces:
CustomDictionaryProvider
- All Known Implementing Classes:
FileUserDictionary
public interface UserDictionaryProvider extends CustomDictionaryProvider
Interface to be implemented by a user dictionary. Adding a new word viaaddWord(String)
must trigger a storing of the dictionary.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addWord(java.lang.String word)
Adds a new word to the current user dictionary.void
setUserWords(java.lang.String wordList)
Set a completely new word list-
Methods inherited from interface com.inet.jortho.CustomDictionaryProvider
getWords
-
-
-
-
Method Detail
-
addWord
void addWord(java.lang.String word)
Adds a new word to the current user dictionary. The implementor must save this word in its own backend.- Parameters:
word
- the new word.
-
setUserWords
void setUserWords(java.lang.String wordList)
Set a completely new word list- Parameters:
wordList
- the new word list. Can be empty but not null.
-
-