|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objectjp.go.nict.langrid.client.ws_1_2.impl.ServiceClientImpl
jp.go.nict.langrid.client.ws_1_2.impl.langservice.LanguageIdentificationClientImpl
public class LanguageIdentificationClientImpl
言語識別クライアント実装クラス。
| コンストラクタの概要 | |
|---|---|
LanguageIdentificationClientImpl(URL serviceUrl)
コンストラクタ。 |
|
| メソッドの概要 | |
|---|---|
protected org.apache.axis.client.Stub |
createStub(URL url)
|
String[] |
getSupportedEncodings()
対応しているエンコーディング一覧を返す。 |
String[] |
getSupportedLanguages()
対応している言語一覧を返す。 |
String |
identify(String text,
String originalEncoding)
言語を識別する。 |
LanguageAndEncoding |
identifyLanguageAndEncoding(byte[] textBytes)
言語とエンコーディングを識別する。 |
| クラス 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 LanguageIdentificationClientImpl(URL serviceUrl)
serviceUrl - サービスが配備されているURL| メソッドの詳細 |
|---|
public String identify(String text,
String originalEncoding)
throws LangridException
LanguageIdentificationClient の記述:
LanguageIdentificationClient 内の identifytext - 識別する文字列originalEncoding - 文字列のエンコーディング
LangridException - サービスの呼び出しに失敗した
public LanguageAndEncoding identifyLanguageAndEncoding(byte[] textBytes)
throws LangridException
LanguageIdentificationClient の記述:
LanguageIdentificationClient 内の identifyLanguageAndEncodingtextBytes - 識別する文字列
LangridException - サービスの呼び出しに失敗した
public String[] getSupportedLanguages()
throws LangridException
LanguageIdentificationClient の記述:
LanguageIdentificationClient 内の getSupportedLanguagesLangridException - サービスの呼び出しに失敗した
public String[] getSupportedEncodings()
throws LangridException
LanguageIdentificationClient の記述:
LanguageIdentificationClient 内の getSupportedEncodingsLangridException - サービスの呼び出しに失敗した
protected org.apache.axis.client.Stub createStub(URL url)
throws javax.xml.rpc.ServiceException
ServiceClientImpl 内の createStubjavax.xml.rpc.ServiceException
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||