org.incava.doctorj

Class CommentSpellCheck

Known Direct Subclasses:
ItemCommentSpellCheck

public class CommentSpellCheck
extends java.lang.Object

Field Summary

static CommentSpellCheck
instance

Constructor Summary

CommentSpellCheck()

Method Summary

boolean
addDictionary(String dictionary)
void
addWord(String word)
void
check(String description)
protected void
checkCurrentWord()
protected void
checkWord(String word, int position)
protected boolean
consume(String what)
protected void
consumeTo(String what)
static CommentSpellCheck
getInstance()
protected void
skipBlanks()
protected void
skipLink()
protected void
skipSection(String section)
protected void
skipThroughWord()
protected void
skipToWord()
protected void
wordMisspelled(String word, int position, Map nearMatches)

Field Details

instance

public static CommentSpellCheck instance

Constructor Details

CommentSpellCheck

protected CommentSpellCheck()

Method Details

addDictionary

public boolean addDictionary(String dictionary)

addWord

public void addWord(String word)

check

public void check(String description)

checkCurrentWord

protected void checkCurrentWord()

checkWord

protected void checkWord(String word,
                         int position)

consume

protected boolean consume(String what)

consumeTo

protected void consumeTo(String what)

getInstance

public static CommentSpellCheck getInstance()

skipBlanks

protected void skipBlanks()

skipLink

protected void skipLink()

skipSection

protected void skipSection(String section)

skipThroughWord

protected void skipThroughWord()

skipToWord

protected void skipToWord()

wordMisspelled

protected void wordMisspelled(String word,
                              int position,
                              Map nearMatches)