public class MultihopBackTranslationClientImpl extends Object implements MultihopBackTranslationClient
| Constructor and Description |
|---|
MultihopBackTranslationClientImpl(URL serviceUrl) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRequestHeader(String name,
String value) |
Collection<CallNode> |
getLastCallTree() |
String |
getLastCopyrightInfo() |
String |
getLastLicenseInfo() |
String |
getLastName() |
Collection<BindingNode> |
getTreeBindings() |
MultihopTranslationResult |
multihopBackTranslate(Language sourceLang,
Language[] intermediateLangs,
Language targetLang,
String source) |
void |
setPassword(String password) |
void |
setUserId(String userId) |
public MultihopBackTranslationClientImpl(URL serviceUrl)
public void setUserId(String userId)
setUserId in interface ServiceClientpublic void setPassword(String password)
setPassword in interface ServiceClientpublic Collection<BindingNode> getTreeBindings()
getTreeBindings in interface ServiceClientpublic void addRequestHeader(String name, String value)
addRequestHeader in interface ServiceClientpublic String getLastName()
getLastName in interface ServiceClientpublic String getLastCopyrightInfo()
getLastCopyrightInfo in interface ServiceClientpublic String getLastLicenseInfo()
getLastLicenseInfo in interface ServiceClientpublic Collection<CallNode> getLastCallTree()
getLastCallTree in interface ServiceClientpublic MultihopTranslationResult multihopBackTranslate(Language sourceLang, Language[] intermediateLangs, Language targetLang, String source) throws LangridException
multihopBackTranslate in interface MultihopBackTranslationClientLangridException