Liferay 6.0.5

com.liferay.portlet.words.util
Class WordsUtil

java.lang.Object
  extended by com.liferay.portlet.words.util.WordsUtil

public class WordsUtil
extends Object


Method Summary
static List<InvalidWord> checkSpelling(String text)
           
static List<String> getDictionaryList()
           
static Set<String> getDictionarySet()
           
static String getRandomWord()
           
static boolean isDictionaryWord(String word)
           
static String[] scramble(String word)
           
static String[] unscramble(String word)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

checkSpelling

public static List<InvalidWord> checkSpelling(String text)

getDictionaryList

public static List<String> getDictionaryList()

getDictionarySet

public static Set<String> getDictionarySet()

getRandomWord

public static String getRandomWord()

isDictionaryWord

public static boolean isDictionaryWord(String word)

scramble

public static String[] scramble(String word)
                         throws ScramblerException
Throws:
ScramblerException

unscramble

public static String[] unscramble(String word)
                           throws ScramblerException
Throws:
ScramblerException

Liferay 6.0.5