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
 BufferedImage createImage(String text)
          Create an image which will have written a distorted text.
 String createText()
           
 

Method Detail

createImage

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

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

createText

String createText()
Returns:
the text to be drawn


Copyright © 2013. All rights reserved.