com.liferay.portlet.words.util
Class WordsUtil
java.lang.Object
com.liferay.portlet.words.util.WordsUtil
- public class WordsUtil
- extends java.lang.Object
View Source
- Author:
- Brian Wing Shun Chan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
checkSpelling
public static java.util.List checkSpelling(java.lang.String text)
getDictionaryList
public static java.util.List getDictionaryList()
getDictionarySet
public static java.util.Set getDictionarySet()
getRandomWord
public static java.lang.String getRandomWord()
isDictionaryWord
public static boolean isDictionaryWord(java.lang.String word)
scramble
public static java.lang.String[] scramble(java.lang.String word)
throws ScramblerException
- Throws:
ScramblerException
unscramble
public static java.lang.String[] unscramble(java.lang.String word)
throws ScramblerException
- Throws:
ScramblerException