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 java.lang.Object
implements KaptchaProducer


Constructor Summary
KaptchaProducerImpl(java.util.Map<java.lang.String,java.lang.String> configuration)
           
 
Method Summary
 java.awt.image.BufferedImage createImage(java.lang.String text)
           
 java.lang.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(java.util.Map<java.lang.String,java.lang.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 java.awt.image.BufferedImage createImage(java.lang.String text)
Specified by:
createImage in interface com.google.code.kaptcha.Producer

createText

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


Copyright © 2003-2012 The Apache Software Foundation.