org.eclipse.actf.ai.tts
Class TTSRegistry
java.lang.Object
   org.eclipse.actf.ai.tts.TTSRegistry
org.eclipse.actf.ai.tts.TTSRegistry
- public class TTSRegistry 
- extends Object
TTSRegistry manages the TTS engine plug-ins.
 
 
 
TTSRegistry
public TTSRegistry()
isAvailable
public static boolean isAvailable(String id)
- 
- Parameters:
- id- the ID of TTS engine plug-in.
- Returns:
- whether the TTS engine specified the ID is available or not.
 
getDefaultEngine
public static String getDefaultEngine()
- This returns the ID of TTS engine which has the highest priority in the
 available engines.
 
- 
- Returns:
- the ID of the default TTS engine.
 
getLabelAndIds
public static String[][] getLabelAndIds()
- This returns {"name", "id"} pairs of TTS engine plug-ins.
 
- 
- Returns:
- the string array of {"name", "id"} pairs.
 
createTTSEngine
public static ITTSEngine createTTSEngine(String id)
- 
- Parameters:
- id- the ID of TTS engine plug-in.
- Returns:
- the instance of ITTSEngine specified by the ID.