|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WordToSound
Provides methods to tranform a word to a sound .
Method Summary | |
---|---|
int |
getMaxAcceptedWordLenght()
Deprecated. misspelled, use getMaxAcceptedWordLength() instead |
int |
getMaxAcceptedWordLength()
|
int |
getMinAcceptedWordLenght()
Deprecated. misspelled, use getMinAcceptedWordLength() instead |
int |
getMinAcceptedWordLength()
|
javax.sound.sampled.AudioInputStream |
getSound(java.lang.String word)
Main method for this service Return a sound with the specified word |
javax.sound.sampled.AudioInputStream |
getSound(java.lang.String word,
java.util.Locale locale)
Main method for this service Return a sound with the specified word and Locale, depending on the local a sound is not the same. |
Method Detail |
---|
int getMaxAcceptedWordLenght()
getMaxAcceptedWordLength()
instead
int getMinAcceptedWordLenght()
getMinAcceptedWordLength()
instead
int getMaxAcceptedWordLength()
int getMinAcceptedWordLength()
javax.sound.sampled.AudioInputStream getSound(java.lang.String word) throws CaptchaException
word
- The word to tranform into sound
CaptchaException
- if word is invalid or an exception occurs during the sound generationjavax.sound.sampled.AudioInputStream getSound(java.lang.String word, java.util.Locale locale) throws CaptchaException
word
- The word to tranform into soundlocale
- Locale for the sound
CaptchaException
- if word is invalid or an exception occurs during the sound generation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |