com.octo.captcha.sound.spellfind
Class SpellFindCaptcha

java.lang.Object
  extended by com.octo.captcha.sound.SoundCaptcha
      extended by com.octo.captcha.sound.spellfind.SpellFindCaptcha
All Implemented Interfaces:
Captcha, java.io.Serializable

public class SpellFindCaptcha
extends SoundCaptcha

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.octo.captcha.sound.SoundCaptcha
challenge, hasChallengeBeenCalled, question
 
Constructor Summary
SpellFindCaptcha(java.lang.String thequestion, javax.sound.sampled.AudioInputStream thechallenge, java.lang.String theresponse)
           
 
Method Summary
 java.lang.Boolean validateResponse(java.lang.Object theresponse)
          Validation routine for the response.
 java.lang.Boolean validateResponse(java.lang.String theresponse)
           
 
Methods inherited from class com.octo.captcha.sound.SoundCaptcha
disposeChallenge, getChallenge, getQuestion, getSoundChallenge, hasGetChalengeBeenCalled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpellFindCaptcha

public SpellFindCaptcha(java.lang.String thequestion,
                        javax.sound.sampled.AudioInputStream thechallenge,
                        java.lang.String theresponse)
Method Detail

validateResponse

public java.lang.Boolean validateResponse(java.lang.Object theresponse)
Description copied from interface: Captcha
Validation routine for the response.

Parameters:
theresponse - to the question concerning the chalenge
Returns:
true if the answer is correct, false otherwise.

validateResponse

public java.lang.Boolean validateResponse(java.lang.String theresponse)


Copyright 2003-2009 JCaptcha. All Rights Reserved.