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

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

public class CAPTCHAImageGenerator
extends Object

This class is responsible for generating the CAPTCHA image.

Since:
1.1.7

Constructor Summary
CAPTCHAImageGenerator()
           
 
Method Summary
 void generateImage(OutputStream out, String captchaText, Color startingColor, Color endingColor)
          This method generates the CAPTCHA image.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CAPTCHAImageGenerator

public CAPTCHAImageGenerator()
Method Detail

generateImage

public void generateImage(OutputStream out,
                          String captchaText,
                          Color startingColor,
                          Color endingColor)
                   throws IOException
This method generates the CAPTCHA image.

Parameters:
response -
captchaText -
startingColor -
endingColor -
Throws:
IOException


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