com.octo.captcha.image
Class ImageCaptchaFactory

java.lang.Object
  extended by com.octo.captcha.image.ImageCaptchaFactory
All Implemented Interfaces:
CaptchaFactory
Direct Known Subclasses:
FishEyeFactory, GimpyFactory

public abstract class ImageCaptchaFactory
extends java.lang.Object
implements CaptchaFactory

Implements a ImageCaptcha Factory

.


Constructor Summary
ImageCaptchaFactory()
           
 
Method Summary
 Captcha getCaptcha()
          builds a captcha.
 Captcha getCaptcha(java.util.Locale locale)
          build Localized captcha (don't forget those captcha are for human beings!).
abstract  ImageCaptcha getImageCaptcha()
          ImageCaptcha.
abstract  ImageCaptcha getImageCaptcha(java.util.Locale locale)
          a ImageCaptcha.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageCaptchaFactory

public ImageCaptchaFactory()
Method Detail

getCaptcha

public final Captcha getCaptcha()
builds a captcha.

Specified by:
getCaptcha in interface CaptchaFactory
Returns:
a captcha

getCaptcha

public final Captcha getCaptcha(java.util.Locale locale)
build Localized captcha (don't forget those captcha are for human beings!).

Specified by:
getCaptcha in interface CaptchaFactory
Parameters:
locale - the locale
Returns:
a captcha corresponding to the locale

getImageCaptcha

public abstract ImageCaptcha getImageCaptcha()
ImageCaptcha.

Returns:
a image captcha

getImageCaptcha

public abstract ImageCaptcha getImageCaptcha(java.util.Locale locale)
a ImageCaptcha.

Returns:
a localized ImageCaptcha


Copyright 2003-2009 JCaptcha. All Rights Reserved.