org.apache.tapestry5.kaptcha.internal.services
Class KaptchaProducerImpl

java.lang.Object
  extended by org.apache.tapestry5.kaptcha.internal.services.KaptchaProducerImpl
All Implemented Interfaces:
com.google.code.kaptcha.Producer, KaptchaProducer

public class KaptchaProducerImpl
extends Object
implements KaptchaProducer


Constructor Summary
KaptchaProducerImpl(Map<String,String> configuration)
           
 
Method Summary
 BufferedImage createImage(String text)
           
 String createText()
           
 int getHeight()
           
 int getWidth()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KaptchaProducerImpl

public KaptchaProducerImpl(Map<String,String> configuration)
Method Detail

getHeight

public int getHeight()
Specified by:
getHeight in interface KaptchaProducer

getWidth

public int getWidth()
Specified by:
getWidth in interface KaptchaProducer

createImage

public BufferedImage createImage(String text)
Specified by:
createImage in interface com.google.code.kaptcha.Producer

createText

public String createText()
Specified by:
createText in interface com.google.code.kaptcha.Producer


Copyright © 2003-2012 The Apache Software Foundation.