com.octo.captcha.service.text
Interface TextCaptchaService

All Superinterfaces:
CaptchaService
All Known Subinterfaces:
MultiTypeCaptchaService
All Known Implementing Classes:
GenericManageableCaptchaService

public interface TextCaptchaService
extends CaptchaService


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

Method Detail

getTextChallengeForID

java.lang.String getTextChallengeForID(java.lang.String ID)
                                       throws CaptchaServiceException
Method to retrive the text challenge corresponding to the given ticket.

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

getTextChallengeForID

java.lang.String getTextChallengeForID(java.lang.String ID,
                                       java.util.Locale locale)
                                       throws CaptchaServiceException
Method to retrieve the text 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.