@ConsumerType
public interface SpellCheckerProvider
SpellCheckerProvider
is a service providing instances of
SpellChecker
This interface can be implemented by implementors of the SpellChecker
interface to generate instances for different languages.
Services of this type are not intended for general consumption. These
services are for use as the backend for the SpellCheckService
.
Modifier and Type | Method and Description |
---|---|
SpellChecker |
createSpellChecker(java.lang.String language,
java.lang.String[] dictionaryPaths,
ResourceResolver resolver)
Creates a new spellchecker.
|
SpellChecker createSpellChecker(java.lang.String language, java.lang.String[] dictionaryPaths, ResourceResolver resolver) throws SpellCheckException
language
- Language/country to create spellchecker fordictionaryPaths
- Locations to look for dictionaries. If this is
null
an internal default is being used.SpellCheckException
- if a spellchecker could not be created for
the desired languageCopyright © 2010 - 2020 Adobe. All Rights Reserved