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 via addWord(String) must trigger a storing of the dictionary.


Method Summary
 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.


Copyright © 2005 - 2009 i-net software. All Rights Reserved.