public class TranslationClientImpl extends ServiceClientImpl implements TranslationClient
ServiceClientImpl.ServiceExecutor<T,U>
Constructor and Description |
---|
TranslationClientImpl(URL url)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
translate(Language sourceLang,
Language targetLang,
String source) |
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 TranslationClientImpl(URL url)
url
- The invocation url of the service.public String translate(Language sourceLang, Language targetLang, String source) throws LangridException
translate
in interface TranslationClient
LangridException