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, setUserId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addRequestHeader, getLastCallTree, getLastCopyrightInfo, getLastLicenseInfo, getLastName, getTreeBindings, setPassword, setUserId
public LanguageIdentificationClientImpl(URL url)
url
- The invocation url of the service.public String identify(String text, String originalEncoding) throws LangridException
identify
in interface LanguageIdentificationClient
LangridException
public LanguageAndEncoding identifyLanguageAndEncoding(byte[] textBytes) throws LangridException
identifyLanguageAndEncoding
in interface LanguageIdentificationClient
LangridException
public String[] getSupportedLanguages() throws LangridException
getSupportedLanguages
in interface LanguageIdentificationClient
LangridException
public String[] getSupportedEncodings() throws LangridException
getSupportedEncodings
in interface LanguageIdentificationClient
LangridException