|
RapidSpell Web |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.keyoti.rapidSpell.UserDictionary
com.keyoti.rapidSpell.web.CookieUserDictionary
public class CookieUserDictionary
Cookie based user dictionary.
Field Summary |
---|
Fields inherited from class com.keyoti.rapidSpell.UserDictionary |
---|
dictFile |
Constructor Summary | |
---|---|
CookieUserDictionary(javax.servlet.http.Cookie[] cookies,
javax.servlet.http.HttpServletResponse response,
int maximumAgeInSeconds)
New |
Method Summary | |
---|---|
boolean |
addWord(java.lang.String word)
Tries to add word to this dictionary |
boolean |
isValid()
Returns if the dictionary file is valid. |
int |
readAll(java.util.ArrayList list)
Read the dictionary word list into list |
Methods inherited from class com.keyoti.rapidSpell.UserDictionary |
---|
getEncoding, setEncoding |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CookieUserDictionary(javax.servlet.http.Cookie[] cookies, javax.servlet.http.HttpServletResponse response, int maximumAgeInSeconds)
Method Detail |
---|
public boolean addWord(java.lang.String word)
word
to this dictionary
addWord
in class UserDictionary
word
- String containing the new word
public int readAll(java.util.ArrayList list)
list
readAll
in class UserDictionary
list
- the String ArrayList that the word list will be read into.
public boolean isValid()
isValid
in class UserDictionary
|
RapidSpell Web |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |