|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.octo.captcha.component.image.wordtoimage.AbstractWordToImage
public abstract class AbstractWordToImage
Implementation skeleton for the WordToImage component Basically this class implements the imageFromWord method proceding as folow :
Constructor Summary | |
---|---|
protected |
AbstractWordToImage()
|
protected |
AbstractWordToImage(boolean manageFontByCharacter)
|
Method Summary | |
---|---|
java.awt.image.BufferedImage |
getImage(java.lang.String word)
Creates an image of the provided String This method is a skeleton for creation algorithm. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.octo.captcha.component.image.wordtoimage.WordToImage |
---|
getImageHeight, getImageWidth, getMaxAcceptedWordLength, getMinAcceptedWordLength, getMinFontSize |
Constructor Detail |
---|
protected AbstractWordToImage()
protected AbstractWordToImage(boolean manageFontByCharacter)
Method Detail |
---|
public java.awt.image.BufferedImage getImage(java.lang.String word) throws CaptchaException
getImage
in interface WordToImage
CaptchaException
- if word is invalid or if image generation fails.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |