| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jalios.jcms.spellchecker.SpellCheckerManager
public class SpellCheckerManager
Spell Checking manager
| Field Summary | |
|---|---|
| static String | REVISION | 
| Constructor Summary | |
|---|---|
| SpellCheckerManager() | |
| Method Summary | |
|---|---|
| static List<String> | getLanguageList()Returns a list of available languages for spell-checking. | 
| static SpellChecker | getSpellChecker()Retrieve the SpellChecker instance (initialized it if needed). | 
| static void | reloadSpellChecker()Reload the SpellChecker from properties. | 
| static void | setSpellChecker(SpellChecker spellChecker)Change the SpellChecker already initialized by this manager. | 
| static List<SpellCheckResult> | spellCheck(String text,
           String lang)Spell-check the specified text in the specified language and return a list of SpellCheckResult. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final String REVISION
| Constructor Detail | 
|---|
public SpellCheckerManager()
| Method Detail | 
|---|
public static List<String> getLanguageList()
public static List<SpellCheckResult> spellCheck(String text,
                                                String lang)
text - the text to checklang - the language of the text (ISO-639 code)
public static SpellChecker getSpellChecker()
setSpellChecker(SpellChecker).public static void setSpellChecker(SpellChecker spellChecker)
spellChecker - a SpellChecker instance, must not be null.public static void reloadSpellChecker()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||