org.incava.doctorj

Class CommentSpellCheck

public class CommentSpellCheck extends Object

Field Summary
static CommentSpellCheckinstance
Constructor Summary
protected CommentSpellCheck()
Method Summary
booleanaddDictionary(String dictionary)
voidaddWord(String word)
voidcheck(String description)
protected voidcheckCurrentWord()
protected voidcheckWord(String word, int position)
protected booleanconsume(String what)
protected voidconsumeTo(String what)
static CommentSpellCheckgetInstance()
protected voidskipBlanks()
protected voidskipLink()
protected voidskipSection(String section)
protected voidskipThroughWord()
protected voidskipToWord()
protected voidwordMisspelled(String word, int position, Map nearMatches)

Field Detail

instance

public static CommentSpellCheck instance

Constructor Detail

CommentSpellCheck

protected CommentSpellCheck()

Method Detail

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)