org.chenillekit.image.services.impl
Class KaptchaProducerImpl
java.lang.Object
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 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KaptchaProducerImpl
public KaptchaProducerImpl(Properties kaptchaConfig)
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.