Class TinyMceSpellChecker


  • public class TinyMceSpellChecker
    extends java.lang.Object
    Provides spellchecker for TinyMCE editor, through JSON-RPC.
    Since:
    jcms-10.0.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String REVISION  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Map<java.lang.String,​java.lang.String[]> spellcheck​(java.lang.String lang, java.lang.String[] words)
      Check an array of words and returns the badly spelled words with suggestions.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TinyMceSpellChecker

        public TinyMceSpellChecker()
    • Method Detail

      • spellcheck

        public static java.util.Map<java.lang.String,​java.lang.String[]> spellcheck​(java.lang.String lang,
                                                                                          java.lang.String[] words)
        Check an array of words and returns the badly spelled words with suggestions.
        Parameters:
        lang - the language of the words to check
        words - the words to check
        Returns:
        a map of errors and their suggestions