public class ParallelTextService extends AbstractParallelTextService
ALL_MATCHINGMETHODS, EMPTY_LANGUAGEPAIRS, EMPTY_LANGUAGEPATHS, EMPTY_LANGUAGES, MINIMUM_MATCHINGMETHODS| Constructor and Description |
|---|
ParallelTextService() |
| Modifier and Type | Method and Description |
|---|---|
protected Calendar |
doGetLastUpdate() |
protected Collection<ParallelText> |
doSearch(Language sourceLang,
Language targetLang,
String matchingValue,
MatchingMethod matchingMethod)
Runs a search.
|
getSupportedMatchingMethods, getValidLanguagePair, getValidMatchingMethod, search, setSupportedMatchingMethodsgetSupportedLanguagePairCollection, getSupportedLanguagePairs, setSupportedLanguagePairsacquireSemaphore, checkStartupException, convertLanguagePairs, convertLanguages, 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, setServiceNameprotected Collection<ParallelText> doSearch(Language sourceLang, Language targetLang, String matchingValue, MatchingMethod matchingMethod) throws InvalidParameterException, ProcessFailedException
AbstractParallelTextServicedoSearch in class AbstractParallelTextServicesourceLang - Source languagetargetLang - Target languagematchingValue - Keywords to be searchedmatchingMethod - Matching methodInvalidParameterException - An invalid parameter was passedProcessFailedException - Process failedprotected Calendar doGetLastUpdate() throws ProcessFailedException
doGetLastUpdate in class AbstractServiceProcessFailedException