|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RandomReadableStringGenerator
Interface for a class that generates random string codes of varying length; such generators can be used to generate passwords, alpha-numeric identifiers for orders, or mock data; this interface heavily inspired by Stephen Ostermiller's RandPass utility class
Method Summary | |
---|---|
char[] |
getAlphabet()
get the alphabet (universe of characters) used by this random string generator |
String |
getString(int length)
returns a random string with the specified length |
void |
setAlphabet(char[] alphabet)
get the alphabet (universe of characters) used by this random password generator |
Methods inherited from interface org.janux.util.RandomStringGenerator |
---|
getString |
Method Detail |
---|
String getString(int length)
char[] getAlphabet()
void setAlphabet(char[] alphabet)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |