org.apache.myfaces.custom.captcha.util
Class CAPTCHATextGenerator

java.lang.Object
  extended by org.apache.myfaces.custom.captcha.util.CAPTCHATextGenerator

public class CAPTCHATextGenerator
extends java.lang.Object

This class is responsible for generating the CAPTCHA text.

Since:
1.1.7

Constructor Summary
CAPTCHATextGenerator()
           
 
Method Summary
static java.lang.String generateRandomText()
          generateRandomText() generates the CAPTCHA text
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CAPTCHATextGenerator

public CAPTCHATextGenerator()
Method Detail

generateRandomText

public static java.lang.String generateRandomText()
generateRandomText() generates the CAPTCHA text

Returns:
the random generated text.


Copyright © 2009 The Apache Software Foundation. All Rights Reserved.