com.octo.captcha.service.image
Interface ImageCaptchaService

All Superinterfaces:
CaptchaService
All Known Subinterfaces:
MultiTypeCaptchaService
All Known Implementing Classes:
AbstractManageableImageCaptchaService, DefaultManageableImageCaptchaService, GenericManageableCaptchaService

public interface ImageCaptchaService
extends CaptchaService

Specialize a Captcha service that return Image Captchas


Method Summary
 java.awt.image.BufferedImage getImageChallengeForID(java.lang.String ID)
          Method to retrive the image challenge corresponding to the given ticket.
 java.awt.image.BufferedImage getImageChallengeForID(java.lang.String ID, java.util.Locale locale)
          Method to retrive the image challenge corresponding to the given ticket.
 
Methods inherited from interface com.octo.captcha.service.CaptchaService
getChallengeForID, getChallengeForID, getQuestionForID, getQuestionForID, validateResponseForID
 

Method Detail

getImageChallengeForID

java.awt.image.BufferedImage getImageChallengeForID(java.lang.String ID)
                                                    throws CaptchaServiceException
Method to retrive the image challenge corresponding to the given ticket.

Parameters:
ID - the ticket
Returns:
the challenge
Throws:
CaptchaServiceException - if the ticket is invalid

getImageChallengeForID

java.awt.image.BufferedImage getImageChallengeForID(java.lang.String ID,
                                                    java.util.Locale locale)
                                                    throws CaptchaServiceException
Method to retrive the image challenge corresponding to the given ticket.

Parameters:
ID - the ticket
Returns:
the challenge
Throws:
CaptchaServiceException - if the ticket is invalid


Copyright 2003-2009 JCaptcha. All Rights Reserved.