com.octo.captcha.sound.gimpy
Class GimpySound

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

public class GimpySound
extends SoundCaptcha

Description:

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.octo.captcha.sound.SoundCaptcha
challenge, hasChallengeBeenCalled, question
 
Constructor Summary
GimpySound(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

GimpySound

public GimpySound(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.