com.jalios.jcms.widget
Class WidgetUtil.TinyMceSpellChecker

java.lang.Object
  extended by com.jalios.jcms.widget.WidgetUtil.TinyMceSpellChecker
Enclosing class:
WidgetUtil

public static class WidgetUtil.TinyMceSpellChecker
extends Object

RPC Class used by TinyMCE spellchecker


Constructor Summary
WidgetUtil.TinyMceSpellChecker()
           
 
Method Summary
static String[] checkWords(String lang, String[] words)
          Check an array of words and returns the badly spelled words
static String[] getSuggestions(String 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
 

Constructor Detail

WidgetUtil.TinyMceSpellChecker

public WidgetUtil.TinyMceSpellChecker()
Method Detail

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 check
words - 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 word
word - the word for which suggestion are to be returned
Returns:
an array containg all suggested words


Copyright © 2001-2010 Jalios SA. All Rights Reserved.