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, setUserId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addRequestHeader, getLastCallTree, getLastCopyrightInfo, getLastLicenseInfo, getLastName, getTreeBindings, setPassword, setUserId
public 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 TextToSpeechClient
LangridException
public String[] getSupportedLanguages() throws LangridException
getSupportedLanguages
in interface TextToSpeechClient
LangridException
public String[] getSupportedVoiceTypes() throws LangridException
getSupportedVoiceTypes
in interface TextToSpeechClient
LangridException
public String[] getSupportedAudioTypes() throws LangridException
getSupportedAudioTypes
in interface TextToSpeechClient
LangridException