|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object se.chalmers.cs.gf.dialogutil.tts.JavaSpeechOutput
public class JavaSpeechOutput
Outputs text to FreeTTS using the Java Speech API.
Constructor Summary | |
---|---|
JavaSpeechOutput()
|
Method Summary | |
---|---|
void |
blockingSpeakText(java.lang.String text)
Speaks a texts, blocking the calling thread until the entire text has been output or the thread has been interrupted. |
void |
finalize()
|
void |
speakText(java.lang.String text)
Speaks a texts. |
void |
textEvent(TextEvent e)
Handle a text event. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JavaSpeechOutput()
Method Detail |
---|
public void blockingSpeakText(java.lang.String text)
public void speakText(java.lang.String text)
public void textEvent(TextEvent e)
TextListener
textEvent
in interface TextListener
e
- The event objectpublic void finalize()
finalize
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |