com.octo.captcha.service.sound
Interface SoundCaptchaService

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

public interface SoundCaptchaService
extends CaptchaService


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

Method Detail

getSoundChallengeForID

javax.sound.sampled.AudioInputStream getSoundChallengeForID(java.lang.String ID)
                                                            throws CaptchaServiceException
Method to retrive the sound challenge corresponding to the given ticket.

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

getSoundChallengeForID

javax.sound.sampled.AudioInputStream getSoundChallengeForID(java.lang.String ID,
                                                            java.util.Locale locale)
                                                            throws CaptchaServiceException
Method to retrive the sound 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.