com.octo.captcha.sound.spellfind
Class SpellFindCaptchaFactory

java.lang.Object
  extended by com.octo.captcha.sound.SoundCaptchaFactory
      extended by com.octo.captcha.sound.spellfind.SpellFindCaptchaFactory
All Implemented Interfaces:
CaptchaFactory

public class SpellFindCaptchaFactory
extends SoundCaptchaFactory


Field Summary
static java.lang.String BUNDLE_QUESTION_KEY
          The bundle question key for CaptchaQuestionHelper
 
Constructor Summary
SpellFindCaptchaFactory(WordGenerator wordGenerator, WordToSound word2Sound)
          Construct a GimpySoundFactory from a word generator component and a wordtosound component
 
Method Summary
protected  java.lang.String getQuestion(java.util.Locale locale)
           
protected  java.lang.Integer getRandomLength()
           
 SoundCaptcha getSoundCaptcha()
          this method builds a sound capctha.
 SoundCaptcha getSoundCaptcha(java.util.Locale locale)
          this method builds a localized sound capctha.
 WordGenerator getWordGenerator()
           
 WordToSound getWordToSound()
           
 
Methods inherited from class com.octo.captcha.sound.SoundCaptchaFactory
getCaptcha, getCaptcha
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BUNDLE_QUESTION_KEY

public static final java.lang.String BUNDLE_QUESTION_KEY
The bundle question key for CaptchaQuestionHelper

Constructor Detail

SpellFindCaptchaFactory

public SpellFindCaptchaFactory(WordGenerator wordGenerator,
                               WordToSound word2Sound)
Construct a GimpySoundFactory from a word generator component and a wordtosound component

Method Detail

getWordToSound

public WordToSound getWordToSound()

getWordGenerator

public WordGenerator getWordGenerator()

getSoundCaptcha

public SoundCaptcha getSoundCaptcha()
Description copied from class: SoundCaptchaFactory
this method builds a sound capctha.

Specified by:
getSoundCaptcha in class SoundCaptchaFactory
Returns:
a Sound Captcha

getSoundCaptcha

public SoundCaptcha getSoundCaptcha(java.util.Locale locale)
Description copied from class: SoundCaptchaFactory
this method builds a localized sound capctha.

Specified by:
getSoundCaptcha in class SoundCaptchaFactory
Parameters:
locale - the locale
Returns:
a localized sound captcha

getQuestion

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

getRandomLength

protected java.lang.Integer getRandomLength()


Copyright 2003-2009 JCaptcha. All Rights Reserved.