org.incava.doctorj
Class CommentSpellCheck
java.lang.Object
org.incava.doctorj.CommentSpellCheck
- Direct Known Subclasses:
- ItemCommentSpellCheck
public class CommentSpellCheck
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instance
public static CommentSpellCheck instance
CommentSpellCheck
protected CommentSpellCheck()
getInstance
public static CommentSpellCheck getInstance()
addDictionary
public boolean addDictionary(java.lang.String dictionary)
addWord
public void addWord(java.lang.String word)
check
public void check(java.lang.String description)
skipSection
protected void skipSection(java.lang.String section)
skipLink
protected void skipLink()
skipBlanks
protected void skipBlanks()
skipToWord
protected void skipToWord()
checkWord
protected void checkWord(java.lang.String word,
int position)
wordMisspelled
protected void wordMisspelled(java.lang.String word,
int position,
java.util.Map nearMatches)
consume
protected boolean consume(java.lang.String what)
consumeTo
protected void consumeTo(java.lang.String what)
checkCurrentWord
protected void checkCurrentWord()
skipThroughWord
protected void skipThroughWord()