public class LanguageIdentificationClientImpl extends ServiceClientImpl implements LanguageIdentificationClient
ServiceClientImpl.ServiceExecutor<T,U>| Constructor and Description |
|---|
LanguageIdentificationClientImpl(URL url)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
getSupportedEncodings() |
String[] |
getSupportedLanguages() |
String |
identify(String text,
String originalEncoding) |
LanguageAndEncoding |
identifyLanguageAndEncoding(byte[] textBytes) |
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 LanguageIdentificationClientImpl(URL url)
url - The invocation url of the service.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 LanguageIdentificationClientLangridException