|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object jp.go.nict.langrid.client.ws_1_2.impl.ServiceClientImpl jp.go.nict.langrid.client.ws_1_2.impl.langservice.TextToSpeechClientImpl
public class TextToSpeechClientImpl
音声合成クライアントの実装。
コンストラクタの概要 | |
---|---|
TextToSpeechClientImpl(URL serviceUrl)
コンストラクタ。 |
メソッドの概要 | |
---|---|
protected org.apache.axis.client.Stub |
createStub(URL url)
|
String[] |
getSupportedAudioTypes()
サポートしている音声ファイルのタイプ一覧を取得します。 |
String[] |
getSupportedLanguages()
対応している言語の一覧を返します。 |
String[] |
getSupportedVoiceTypes()
サポートしている声のタイプ一覧を取得します。 |
Speech |
speak(Language language,
String text,
String voiceType,
String audioType)
音声合成を行います。 |
クラス jp.go.nict.langrid.client.ws_1_2.impl.ServiceClientImpl から継承されたメソッド |
---|
convert, getHttpHeaders, getLastCallTree, getLastCopyrightInfo, getLastLicenseInfo, getLastName, getTreeBindings, invoke, setPassword, setUpService, setUserId |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
インタフェース jp.go.nict.langrid.client.ws_1_2.ServiceClient から継承されたメソッド |
---|
getHttpHeaders, getLastCallTree, getLastCopyrightInfo, getLastLicenseInfo, getLastName, getTreeBindings, setPassword, setUserId |
コンストラクタの詳細 |
---|
public TextToSpeechClientImpl(URL serviceUrl)
serviceUrl
- サービスが配備されているURLメソッドの詳細 |
---|
protected org.apache.axis.client.Stub createStub(URL url) throws javax.xml.rpc.ServiceException
ServiceClientImpl
内の createStub
javax.xml.rpc.ServiceException
public Speech speak(Language language, String text, String voiceType, String audioType) throws LangridException
TextToSpeechClient
の記述:
TextToSpeechClient
内の speak
language
- テキストの言語(RFC3066準拠)text
- 比較元テキスト(必須)voiceType
- 声のタイプ。"man"や"woman"等。省略時空文字列又は"*"audioType
- 出力データの形式(MIMEタイプ)。"audio/mpeg"、"audio/x-wav"等。省略時空文字列又は"audio/*"
LangridException
- サービスの呼び出しに失敗したpublic String[] getSupportedLanguages() throws LangridException
TextToSpeechClient
の記述:
TextToSpeechClient
内の getSupportedLanguages
LangridException
- サービスの呼び出しに失敗したpublic String[] getSupportedVoiceTypes() throws LangridException
TextToSpeechClient
の記述:
TextToSpeechClient
内の getSupportedVoiceTypes
LangridException
- サービスの呼び出しに失敗したpublic String[] getSupportedAudioTypes() throws LangridException
TextToSpeechClient
の記述:
TextToSpeechClient
内の getSupportedAudioTypes
LangridException
- サービスの呼び出しに失敗した
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |