com.octo.captcha.text.math
Class MathCaptchaFactory

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

public class MathCaptchaFactory
extends TextCaptchaFactory

The simpliest text captcha
Do not use this in production!!!


Constructor Summary
MathCaptchaFactory()
           
 
Method Summary
protected  java.lang.String getQuestion(java.util.Locale locale)
           
 TextCaptcha getTextCaptcha()
          TextCaptcha.
 TextCaptcha getTextCaptcha(java.util.Locale locale)
          a TextCaptcha.
 
Methods inherited from class com.octo.captcha.text.TextCaptchaFactory
getCaptcha, getCaptcha
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MathCaptchaFactory

public MathCaptchaFactory()
Method Detail

getTextCaptcha

public TextCaptcha getTextCaptcha()
TextCaptcha.

Specified by:
getTextCaptcha in class TextCaptchaFactory
Returns:
a Text captcha

getTextCaptcha

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

Specified by:
getTextCaptcha in class TextCaptchaFactory
Returns:
a localized TextCaptcha

getQuestion

protected java.lang.String getQuestion(java.util.Locale locale)


Copyright 2003-2009 JCaptcha. All Rights Reserved.