com.jalios.jcms.widget
Class WidgetUtil.TinyMceSpellChecker
java.lang.Object
com.jalios.jcms.widget.WidgetUtil.TinyMceSpellChecker
- Enclosing class:
- WidgetUtil
public static class WidgetUtil.TinyMceSpellChecker
- extends Object
RPC Class used by TinyMCE spellchecker
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WidgetUtil.TinyMceSpellChecker
public WidgetUtil.TinyMceSpellChecker()
checkWords
public static String[] checkWords(String lang,
String[] words)
- Check an array of words and returns the badly spelled words
- Parameters:
lang
- the language of the words to checkwords
- the words to check
- Returns:
- an array containg all words with a spell error
getSuggestions
public static String[] getSuggestions(String lang,
String word)
- Retrieve an array of spell suggestions for the specified word
- Parameters:
lang
- the language of the wordword
- the word for which suggestion are to be returned
- Returns:
- an array containg all suggested words
Copyright © 2001-2010 Jalios SA. All Rights Reserved.