public interface MultihopTranslationService
| Modifier and Type | Method and Description |
|---|---|
MultihopTranslationResult |
multihopTranslate(String sourceLang,
String[] intermediateLangs,
String targetLang,
String source)
Run a multi-hop translation.
|
MultihopTranslationResult multihopTranslate(String sourceLang, String[] intermediateLangs, String targetLang, String source) throws AccessLimitExceededException, InvalidParameterException, LanguagePathNotUniquelyDecidedException, NoAccessPermissionException, NoValidEndpointsException, ProcessFailedException, ServerBusyException, ServiceNotActiveException, ServiceNotFoundException, UnsupportedLanguagePathException
sourceLang - Translation source language (RFC3066 compliant)intermediateLangs - Intermediate languages (RFC3066 compliant)targetLang - Target language of the translation (RFC3066 compliant)source - String to be translatedAccessLimitExceededException - Violated an access restrictionInvalidParameterException - An invalid parameter was passedLanguagePathNotUniquelyDecidedException - Multiple language path candidates were foundNoAccessPermissionException - The user executing the call lacks execution privilegesNoValidEndpointsException - There is no valid endpointProcessFailedException - Translation process failedServerBusyException - The server is loaded and cannot process it.ServiceNotActiveException - Service not activeServiceNotFoundException - The specified service was not foundUnsupportedLanguagePathException - An unsupported language path was specified