|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.code.kaptcha.util.Configurable
com.google.code.kaptcha.impl.DefaultKaptcha
public class DefaultKaptcha
Default Producer
implementation which draws a captcha image using
WordRenderer
, GimpyEngine
, BackgroundProducer
.
Text creation uses TextProducer
.
Constructor Summary | |
---|---|
DefaultKaptcha()
|
Method Summary | |
---|---|
java.awt.image.BufferedImage |
createImage(java.lang.String text)
Create an image which will have written a distorted text. |
java.lang.String |
createText()
|
Methods inherited from class com.google.code.kaptcha.util.Configurable |
---|
getConfig, setConfig |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultKaptcha()
Method Detail |
---|
public java.awt.image.BufferedImage createImage(java.lang.String text)
createImage
in interface Producer
text
- the distorted characters
public java.lang.String createText()
createText
in interface Producer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |