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 java.lang.Object
RPC Class used by TinyMCE spellchecker
|
Method Summary |
static java.lang.String[] |
checkWords(java.lang.String lang,
java.lang.String[] words)
Check an array of words and returns the badly spelled words |
static java.lang.String[] |
getSuggestions(java.lang.String lang,
java.lang.String word)
Retrieve an array of spell suggestions for the specified word |
| 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 java.lang.String[] checkWords(java.lang.String lang,
java.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 java.lang.String[] getSuggestions(java.lang.String lang,
java.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.