public class TextToSpeechClientImpl extends ServiceClientImpl implements TextToSpeechClient
ServiceClientImpl.ServiceExecutor<T,U>| Constructor and Description |
|---|
TextToSpeechClientImpl(URL url)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
getSupportedAudioTypes() |
String[] |
getSupportedLanguages() |
String[] |
getSupportedVoiceTypes() |
Speech |
speak(Language language,
String text,
String voiceType,
String audioType) |
addHeaders, addRequestHeader, convert, createChannel, execute, getLastCallTree, getLastCopyrightInfo, getLastLicenseInfo, getLastName, getPassword, getRequestHeaders, getTreeBindings, getUrl, getUserId, setPassword, setUserIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddRequestHeader, getLastCallTree, getLastCopyrightInfo, getLastLicenseInfo, getLastName, getTreeBindings, setPassword, setUserIdpublic TextToSpeechClientImpl(URL url)
url - The invocation url of the service.public Speech speak(Language language, String text, String voiceType, String audioType) throws LangridException
speak in interface TextToSpeechClientLangridExceptionpublic String[] getSupportedLanguages() throws LangridException
getSupportedLanguages in interface TextToSpeechClientLangridExceptionpublic String[] getSupportedVoiceTypes() throws LangridException
getSupportedVoiceTypes in interface TextToSpeechClientLangridExceptionpublic String[] getSupportedAudioTypes() throws LangridException
getSupportedAudioTypes in interface TextToSpeechClientLangridException