|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.octo.captcha.component.word.wordgenerator.RandomWordGenerator
public class RandomWordGenerator
Random word generator. must be constructed with a String containing all possible chars
| Constructor Summary | |
|---|---|
RandomWordGenerator(java.lang.String acceptedChars)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getWord(java.lang.Integer length)
Return a word of length between min and max length |
java.lang.String |
getWord(java.lang.Integer length,
java.util.Locale locale)
Return a word of length between min and max length according to the given locale |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RandomWordGenerator(java.lang.String acceptedChars)
| Method Detail |
|---|
public java.lang.String getWord(java.lang.Integer length)
getWord in interface WordGenerator
public java.lang.String getWord(java.lang.Integer length,
java.util.Locale locale)
getWord in interface WordGeneratorlength - the word length
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||