public interface MultistatementTranslationService
Modifier and Type | Method and Description |
---|---|
String[] |
multistatementTranslate(String sourceLang,
String targetLang,
String[] sources)
Run translation.
|
String[] multistatementTranslate(String sourceLang, String targetLang, String[] sources) throws AccessLimitExceededException, InvalidParameterException, LanguagePairNotUniquelyDecidedException, NoAccessPermissionException, ProcessFailedException, NoValidEndpointsException, ServerBusyException, ServiceNotActiveException, ServiceNotFoundException, UnsupportedLanguagePairException
sourceLang
- Translation source language (RFC3066 compliant)targetLang
- Target language of the translation (RFC3066 compliant)sources
- String array to be translatedAccessLimitExceededException
- Violated an access restrictionInvalidParameterException
- An invalid parameter was passedNoAccessPermissionException
- 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
- The service is not activeServiceNotFoundException
- The specified service was not foundUnsupportedLanguagePairException
- An unsupported language pair was specifiedLanguagePairNotUniquelyDecidedException