com.octo.captcha.text
Class TextCaptchaFactory

java.lang.Object
  extended by com.octo.captcha.text.TextCaptchaFactory
All Implemented Interfaces:
CaptchaFactory
Direct Known Subclasses:
MathCaptchaFactory

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

Implements a TextCaptcha Factory

.


Constructor Summary
TextCaptchaFactory()
           
 
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  TextCaptcha getTextCaptcha()
          TextCaptcha.
abstract  TextCaptcha getTextCaptcha(java.util.Locale locale)
          a TextCaptcha.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextCaptchaFactory

public TextCaptchaFactory()
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

getTextCaptcha

public abstract TextCaptcha getTextCaptcha()
TextCaptcha.

Returns:
a Text captcha

getTextCaptcha

public abstract TextCaptcha getTextCaptcha(java.util.Locale locale)
a TextCaptcha.

Returns:
a localized TextCaptcha


Copyright 2003-2009 JCaptcha. All Rights Reserved.