org.chenillekit.image.services.impl
Class KaptchaProducerImpl

java.lang.Object
  extended by org.chenillekit.image.services.impl.KaptchaProducerImpl
All Implemented Interfaces:
CaptchaProducer

public class KaptchaProducerImpl
extends Object
implements CaptchaProducer

implements the Kaptcha library.

Version:
$Id: KaptchaProducerImpl.java 594 2009-12-05 15:17:26Z mlusetti $

Constructor Summary
KaptchaProducerImpl(Properties kaptchaConfig)
           
 
Method Summary
 BufferedImage createImage(String captchaString)
          create the captch from given string.
 String createText()
          create a random String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KaptchaProducerImpl

public KaptchaProducerImpl(Properties kaptchaConfig)
Method Detail

createImage

public BufferedImage createImage(String captchaString)
create the captch from given string.

Specified by:
createImage in interface CaptchaProducer

createText

public String createText()
create a random String.

Specified by:
createText in interface CaptchaProducer


Copyright © 2008-2010 ChenilleKit. All Rights Reserved.