org.jasig.cas.util
Interface RandomStringGenerator

All Known Implementing Classes:
DefaultRandomStringGenerator

public interface RandomStringGenerator

Interface to return a random String.

Since:
3.0
Version:
$Revision: 42223 $ $Date: 2007-07-10 11:41:31 -0400 (Tue, 10 Jul 2007) $
Author:
Scott Battaglia

Method Summary
 int getMaxLength()
           
 int getMinLength()
           
 java.lang.String getNewString()
           
 byte[] getNewStringAsBytes()
           
 

Method Detail

getMinLength

int getMinLength()
Returns:
the minimum length as an int guaranteed by this generator.

getMaxLength

int getMaxLength()
Returns:
the maximum length as an int guaranteed by this generator.

getNewString

java.lang.String getNewString()
Returns:
the new random string

getNewStringAsBytes

byte[] getNewStringAsBytes()


Copyright © 2004-2010 Java Architectures Special Interest Group. All Rights Reserved.