org.apache.myfaces.custom.captcha.util
Class CAPTCHAImageGenerator
java.lang.Object
   org.apache.myfaces.custom.captcha.util.CAPTCHAImageGenerator
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
 
| Method Summary | 
|  void | generateImage(javax.servlet.http.HttpServletResponse response,
              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 | 
 
CAPTCHAImageGenerator
public CAPTCHAImageGenerator()
generateImage
public void generateImage(javax.servlet.http.HttpServletResponse response,
                          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.