com.google.code.kaptcha
Interface Producer

All Known Implementing Classes:
DefaultKaptcha

public interface Producer

Responsible for creating captcha image with a text drawn on it.


Method Summary
 java.awt.image.BufferedImage createImage(java.lang.String text)
          Create an image which will have written a distorted text.
 java.lang.String createText()
           
 

Method Detail

createImage

java.awt.image.BufferedImage createImage(java.lang.String text)
Create an image which will have written a distorted text.

Parameters:
text - the distorted characters
Returns:
image with the text

createText

java.lang.String createText()
Returns:
the text to be drawn


Copyright © 2010 Kaptcha. All Rights Reserved. Build version: 2.3.2