|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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 Captchapublic final java.lang.Object getChallenge()
getChallenge in interface Captchapublic final javax.sound.sampled.AudioInputStream getSoundChallenge()
public void disposeChallenge()
disposeChallenge in interface Captchapublic 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 | |||||||||