|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.switchboard.TTSResult
public class TTSResult
| Constructor Summary | |
|---|---|
TTSResult(URL url,
File f,
String words)
|
|
| Method Summary | |
|---|---|
File |
getFile()
Gets a reference to the File that has been downloaded. |
String |
getWords()
Gets the string of words that are read aloud in the file. |
void |
play()
Plays the WAV file that was downloaded. |
void |
setFile(File file)
|
void |
setGain(float gain)
Sets the gain of the WAV file. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TTSResult(URL url,
File f,
String words)
| Method Detail |
|---|
public String getWords()
public void play()
public void setGain(float gain)
gain - a float between 0 and 1public File getFile()
public void setFile(File file)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||