org.janux.util
Interface RandomReadableStringGenerator

All Superinterfaces:
RandomStringGenerator

public interface RandomReadableStringGenerator
extends RandomStringGenerator

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

Since:
2005-12-19
Author:
Philippe Paravicini

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

getString

String getString(int length)
returns a random string with the specified length


getAlphabet

char[] getAlphabet()
get the alphabet (universe of characters) used by this random string generator


setAlphabet

void setAlphabet(char[] alphabet)
get the alphabet (universe of characters) used by this random password generator



Copyright © 2005-2013 Janux. All Rights Reserved.