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 ServiceClient
public void setPassword(String password)
setPassword
in interface ServiceClient
public Collection<BindingNode> getTreeBindings()
getTreeBindings
in interface ServiceClient
public void addRequestHeader(String name, String value)
addRequestHeader
in interface ServiceClient
public String getLastName()
getLastName
in interface ServiceClient
public String getLastCopyrightInfo()
getLastCopyrightInfo
in interface ServiceClient
public String getLastLicenseInfo()
getLastLicenseInfo
in interface ServiceClient
public Collection<CallNode> getLastCallTree()
getLastCallTree
in interface ServiceClient
public MultihopTranslationResult multihopBackTranslate(Language sourceLang, Language[] intermediateLangs, Language targetLang, String source) throws LangridException
multihopBackTranslate
in interface MultihopBackTranslationClient
LangridException