com.octo.captcha.image.gimpy
Class Gimpy

java.lang.Object
  extended by com.octo.captcha.image.ImageCaptcha
      extended by com.octo.captcha.image.gimpy.Gimpy
All Implemented Interfaces:
Captcha, java.io.Serializable

public class Gimpy
extends ImageCaptcha
implements java.io.Serializable

A Gimpy is an ImageCaptcha. It is also the most common captcha.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.octo.captcha.image.ImageCaptcha
challenge, question
 
Method Summary
 java.lang.Boolean validateResponse(java.lang.Object response)
          Validation routine from the CAPTCHA interface. this methods verify if the response is not null and a String and then compares the given response to the internal string.
 
Methods inherited from class com.octo.captcha.image.ImageCaptcha
disposeChallenge, getChallenge, getImageChallenge, getQuestion, hasGetChalengeBeenCalled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

validateResponse

public final java.lang.Boolean validateResponse(java.lang.Object response)
Validation routine from the CAPTCHA interface. this methods verify if the response is not null and a String and then compares the given response to the internal string.

Specified by:
validateResponse in interface Captcha
Parameters:
response - to the question concerning the chalenge
Returns:
true if the given response equals the internal response, false otherwise.


Copyright 2003-2009 JCaptcha. All Rights Reserved.