|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.octo.captcha.engine.sound.SoundCaptchaEngine
com.octo.captcha.engine.sound.ListSoundCaptchaEngine
public abstract class ListSoundCaptchaEngine
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.sound.SoundCaptchaEngine |
|---|
factories, myRandom |
| Constructor Summary | |
|---|---|
ListSoundCaptchaEngine()
|
|
| Method Summary | |
|---|---|
void |
addFactories(SoundCaptchaFactory[] factories)
Add an array of factories to the gimpy list |
boolean |
addFactory(SoundCaptchaFactory 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.sound.SoundCaptchaEngine |
|---|
checkNotNullOrEmpty, getFactories, getNextCaptcha, getNextCaptcha, getNextSoundCaptcha, getNextSoundCaptcha, getSoundCaptchaFactory, setFactories |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ListSoundCaptchaEngine()
| Method Detail |
|---|
protected abstract void buildInitialFactories()
public boolean addFactory(SoundCaptchaFactory factory)
public void addFactories(SoundCaptchaFactory[] factories)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||