public class DocumentWordFinder
extends org.dts.spell.finder.CharSequenceWordFinder
| Modifier | Constructor and Description |
|---|---|
|
DocumentWordFinder() |
protected |
DocumentWordFinder(CharSequence text,
org.dts.spell.tokenizer.WordTokenizer tokenizer) |
|
DocumentWordFinder(Document text) |
|
DocumentWordFinder(Document text,
org.dts.spell.tokenizer.WordTokenizer tokenizer) |
|
DocumentWordFinder(org.dts.spell.tokenizer.WordTokenizer tokenizer) |
| Modifier and Type | Method and Description |
|---|---|
Document |
getDocument() |
DocumentCharSequence |
getDocumentCharSequence() |
org.dts.spell.finder.Word |
getNextWord(int index) |
org.dts.spell.finder.Word |
getPreviousWord(int index) |
org.dts.spell.finder.Word |
getWordAt(int index) |
void |
quitDocument() |
protected void |
replace(String newWord,
org.dts.spell.finder.Word currentWord) |
void |
setDocument(Document document) |
protected void |
updateCharSequence(int start,
int end,
int cause) |
findFirstWord, getCharSequence, getTokenizer, next, setTokenizerpublic DocumentWordFinder(org.dts.spell.tokenizer.WordTokenizer tokenizer)
public DocumentWordFinder()
public DocumentWordFinder(Document text, org.dts.spell.tokenizer.WordTokenizer tokenizer)
protected DocumentWordFinder(CharSequence text, org.dts.spell.tokenizer.WordTokenizer tokenizer)
public DocumentWordFinder(Document text)
text - protected void replace(String newWord, org.dts.spell.finder.Word currentWord)
replace in class org.dts.spell.finder.CharSequenceWordFinderpublic org.dts.spell.finder.Word getWordAt(int index)
public org.dts.spell.finder.Word getPreviousWord(int index)
public org.dts.spell.finder.Word getNextWord(int index)
public void setDocument(Document document)
public void quitDocument()
public DocumentCharSequence getDocumentCharSequence()
public Document getDocument()
protected void updateCharSequence(int start,
int end,
int cause)
updateCharSequence in class org.dts.spell.finder.CharSequenceWordFinderCopyright © 2020. All rights reserved.