|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.octo.captcha.engine.image.ImageCaptchaEngine com.octo.captcha.engine.image.ListImageCaptchaEngine
public abstract class ListImageCaptchaEngine
This engine is based on a java.util.List of factories. It has a default constructor. Sub class must implements the buildInitialFactories() method that should build an initial set of factories.
Field Summary |
---|
Fields inherited from class com.octo.captcha.engine.image.ImageCaptchaEngine |
---|
factories, myRandom |
Constructor Summary | |
---|---|
ListImageCaptchaEngine()
|
Method Summary | |
---|---|
void |
addFactories(ImageCaptchaFactory[] factories)
Add an array of factories to the gimpy list |
boolean |
addFactory(ImageCaptchaFactory factory)
Add a factory to the gimpy list |
protected abstract void |
buildInitialFactories()
this method should be implemented as folow : First construct all the factories you want to initialize the gimpy with then call the this.addFactoriy method for each factory |
Methods inherited from class com.octo.captcha.engine.image.ImageCaptchaEngine |
---|
checkNotNullOrEmpty, getFactories, getImageCaptchaFactory, getNextCaptcha, getNextCaptcha, getNextImageCaptcha, getNextImageCaptcha, setFactories |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ListImageCaptchaEngine()
Method Detail |
---|
protected abstract void buildInitialFactories()
public boolean addFactory(ImageCaptchaFactory factory)
public void addFactories(ImageCaptchaFactory[] factories)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |