public interface SpellCheckService
Modifier and Type | Method and Description |
---|---|
TextCheckResult |
checkText(java.lang.String text,
java.lang.String language,
boolean isHtml,
java.lang.String[] dictionaryPaths)
Spellchecks an entire text.
|
WordCheckResult |
checkWord(java.lang.String word,
java.lang.String language,
java.lang.String[] dictionaryPaths)
Spellchecks a single word.
|
WordCheckResult checkWord(java.lang.String word, java.lang.String language, java.lang.String[] dictionaryPaths) throws SpellCheckException
word
- The word to spellchecklanguage
- Language of the worddictionaryPaths
- Paths to dictionariesSpellCheckException
- in case of an errorTextCheckResult checkText(java.lang.String text, java.lang.String language, boolean isHtml, java.lang.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