com.octo.captcha.engine.image
Class DefaultImageCaptchaEngine

java.lang.Object
  extended by com.octo.captcha.engine.image.ImageCaptchaEngine
      extended by com.octo.captcha.engine.image.DefaultImageCaptchaEngine
All Implemented Interfaces:
CaptchaEngine
Direct Known Subclasses:
BasicGimpyEngine, FilteredGimpyEngine, MultipleGimpyEngine

public abstract class DefaultImageCaptchaEngine
extends ImageCaptchaEngine

This is a very simple gimpy, which is constructed from an array of Factory and randomly return one when the getCaptchaFactory is called


Field Summary
 
Fields inherited from class com.octo.captcha.engine.image.ImageCaptchaEngine
factories, myRandom
 
Constructor Summary
DefaultImageCaptchaEngine(ImageCaptchaFactory[] factories)
          Default constructor : takes an array of ImageCaptchaFactories.
 
Method Summary
 
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

DefaultImageCaptchaEngine

public DefaultImageCaptchaEngine(ImageCaptchaFactory[] factories)
Default constructor : takes an array of ImageCaptchaFactories.



Copyright 2003-2009 JCaptcha. All Rights Reserved.