public abstract class AbstractTranslationSelectionService extends AbstractLanguagePairService implements TranslationSelectionService
ALL_MATCHINGMETHODS, EMPTY_LANGUAGEPAIRS, EMPTY_LANGUAGEPATHS, EMPTY_LANGUAGES, MINIMUM_MATCHINGMETHODS| Constructor and Description | 
|---|
| AbstractTranslationSelectionService() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected abstract SelectionResult | doSelect(Language sourceLang,
        Language targetLang,
        String source) | 
| SelectionResult | select(String sourceLang,
      String targetLang,
      String source)Run translation. | 
getSupportedLanguagePairCollection, getSupportedLanguagePairs, setSupportedLanguagePairsacquireSemaphore, checkStartupException, convertLanguagePairs, convertLanguages, doGetLastUpdate, getCurrentServiceContext, getDoDoubleSearch, getEliminateDuplicates, getInitParameter, getInitParameterBoolean, getInitParameterInt, getInitParameterLong, getInitParameters, getInitParameterString, getInitParameterUsingTransformer, getLastUpdate, getLogListener, getMaxResults, getMaxWaitMillisForExternalProcess, getRequestMimeHeaders, getServiceContext, getWorkDirectory, getWorkFile, log, parseDateMacro, processEnd, processEnd, processLap, processStart, releaseSemaphore, setCurrentServiceContext, setDoubleSearchResults, setEliminateDuplicates, setLogListener, setMaxResults, setMaxThreads, setMaxWaitMillisForExternalProcess, setMaxWaitMillisForThread, setMeasureProcessTime, setProcessTimeWarningThreasholdMillis, setStartupExceptiongetComponentServiceFactory, getFile, getServiceName, setComponentServiceFactory, setServiceNamepublic SelectionResult select(String sourceLang, String targetLang, String source) throws ProcessFailedException, LanguagePairNotUniquelyDecidedException, UnsupportedLanguagePairException, InvalidParameterException
TranslationSelectionServiceselect in interface TranslationSelectionServicesourceLang - Translation source language (RFC3066 compliant)targetLang - Target language of the translation (RFC3066 compliant)source - String to be translatedProcessFailedException - Translation process failedLanguagePairNotUniquelyDecidedException - Multiple candidate language pairs existUnsupportedLanguagePairException - An unsupported language pair was specifiedInvalidParameterException - An invalid parameter was passedprotected abstract SelectionResult doSelect(Language sourceLang, Language targetLang, String source)