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, setUserId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addRequestHeader, getLastCallTree, getLastCopyrightInfo, getLastLicenseInfo, getLastName, getTreeBindings, setPassword, setUserId
public LanguageIdentificationClientImpl(URL serviceUrl)
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
protected org.apache.axis.client.Stub createStub(URL url) throws javax.xml.rpc.ServiceException
createStub
in class ServiceClientImpl
javax.xml.rpc.ServiceException