ro.polak.utilities
Class RandomStringGenerator

java.lang.Object
  extended by ro.polak.utilities.RandomStringGenerator

public class RandomStringGenerator
extends java.lang.Object


Constructor Summary
RandomStringGenerator()
           
 
Method Summary
static java.lang.String generate()
          Generates random string of lower case chars of length 32
static java.lang.String generate(int length)
          Generates random string of lower case chars of specified length
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RandomStringGenerator

public RandomStringGenerator()
Method Detail

generate

public static java.lang.String generate()
Generates random string of lower case chars of length 32

Returns:
random string of 32 characters

generate

public static java.lang.String generate(int length)
Generates random string of lower case chars of specified length

Parameters:
length - length of the string
Returns:
random string of 32 characters