com.sun.speech.engine.synthesis.text
Class TextSynthesizerModeDesc
java.lang.Object
javax.speech.EngineModeDesc
javax.speech.synthesis.SynthesizerModeDesc
com.sun.speech.engine.synthesis.text.TextSynthesizerModeDesc
- All Implemented Interfaces:
- javax.speech.EngineCreate
- public class TextSynthesizerModeDesc
- extends javax.speech.synthesis.SynthesizerModeDesc
- implements javax.speech.EngineCreate
Describes the TextSynthesizer
. Builds up the
voice list and other data.
Method Summary |
javax.speech.Engine |
createEngine()
Constructs a text synthesizer with the properties of this mode
desc. |
Methods inherited from class javax.speech.synthesis.SynthesizerModeDesc |
addVoice, equals, getVoices, match, setVoices |
Methods inherited from class javax.speech.EngineModeDesc |
getEngineName, getLocale, getModeName, getRunning, setEngineName, setLocale, setModeName, setRunning |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextSynthesizerModeDesc
public TextSynthesizerModeDesc()
- Class constructor.
createEngine
public javax.speech.Engine createEngine()
throws java.lang.IllegalArgumentException,
javax.speech.EngineException,
java.lang.SecurityException
- Constructs a text synthesizer with the properties of this mode
desc.
- Specified by:
createEngine
in interface javax.speech.EngineCreate
- Throws:
java.lang.IllegalArgumentException
javax.speech.EngineException
java.lang.SecurityException