|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.octo.captcha.sound.SoundCaptcha
public abstract class SoundCaptcha
Description: String question about a Line challenge, this class is abstract.
Field Summary | |
---|---|
protected byte[] |
challenge
|
protected java.lang.Boolean |
hasChallengeBeenCalled
|
protected java.lang.String |
question
|
Constructor Summary | |
---|---|
protected |
SoundCaptcha(java.lang.String thequestion,
javax.sound.sampled.AudioInputStream thechallenge)
|
Method Summary | |
---|---|
void |
disposeChallenge()
this method is to clean the challenge. |
java.lang.Object |
getChallenge()
Accessor to the challenge. |
java.lang.String |
getQuestion()
Accessor to the question. |
javax.sound.sampled.AudioInputStream |
getSoundChallenge()
Accessor to the sound challenge. |
java.lang.Boolean |
hasGetChalengeBeenCalled()
This method should return true if the getChalenge method has been called (has been added in order to properly manage the captcha state. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.octo.captcha.Captcha |
---|
validateResponse |
Field Detail |
---|
protected java.lang.Boolean hasChallengeBeenCalled
protected java.lang.String question
protected byte[] challenge
Constructor Detail |
---|
protected SoundCaptcha(java.lang.String thequestion, javax.sound.sampled.AudioInputStream thechallenge)
Method Detail |
---|
public final java.lang.String getQuestion()
getQuestion
in interface Captcha
public final java.lang.Object getChallenge()
getChallenge
in interface Captcha
public final javax.sound.sampled.AudioInputStream getSoundChallenge()
public void disposeChallenge()
disposeChallenge
in interface Captcha
public java.lang.Boolean hasGetChalengeBeenCalled()
Captcha
hasGetChalengeBeenCalled
in interface Captcha
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |