public interface SpellCheckService
Modifier and Type | Method and Description |
---|---|
TextCheckResult |
checkText(String text,
String language,
boolean isHtml,
String[] dictionaryPaths)
Spellchecks an entire text.
|
WordCheckResult |
checkWord(String word,
String language,
String[] dictionaryPaths)
Spellchecks a single word.
|
WordCheckResult checkWord(String word, String language, String[] dictionaryPaths) throws SpellCheckException
word
- The word to spellchecklanguage
- Language of the worddictionaryPaths
- Paths to dictionariesSpellCheckException
- in case of an errorTextCheckResult checkText(String text, String language, boolean isHtml, String[] dictionaryPaths) throws SpellCheckException
text
- The text to spellchecklanguage
- Language of the textisHtml
- True if the text to check is in HTML formatdictionaryPaths
- Paths to dictionariesSpellCheckException
- in case of an errorCopyright © 2010 - 2020 Adobe. All Rights Reserved