public class LanguageIdentificationClientImpl extends ServiceClientImpl implements LanguageIdentificationClient
| Constructor and Description |
|---|
LanguageIdentificationClientImpl(URL serviceUrl) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.axis.client.Stub |
createStub(URL url) |
String[] |
getSupportedEncodings() |
String[] |
getSupportedLanguages() |
String |
identify(String text,
String originalEncoding) |
LanguageAndEncoding |
identifyLanguageAndEncoding(byte[] textBytes) |
addRequestHeader, convert, getLastCallTree, getLastCopyrightInfo, getLastLicenseInfo, getLastName, getTreeBindings, invoke, setPassword, setUpService, setUserIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddRequestHeader, getLastCallTree, getLastCopyrightInfo, getLastLicenseInfo, getLastName, getTreeBindings, setPassword, setUserIdpublic LanguageIdentificationClientImpl(URL serviceUrl)
public String identify(String text, String originalEncoding) throws LangridException
identify in interface LanguageIdentificationClientLangridExceptionpublic LanguageAndEncoding identifyLanguageAndEncoding(byte[] textBytes) throws LangridException
identifyLanguageAndEncoding in interface LanguageIdentificationClientLangridExceptionpublic String[] getSupportedLanguages() throws LangridException
getSupportedLanguages in interface LanguageIdentificationClientLangridExceptionpublic String[] getSupportedEncodings() throws LangridException
getSupportedEncodings in interface LanguageIdentificationClientLangridExceptionprotected org.apache.axis.client.Stub createStub(URL url) throws javax.xml.rpc.ServiceException
createStub in class ServiceClientImpljavax.xml.rpc.ServiceException