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, setSupportedMatchingMethods
getSupportedLanguagePairCollection, getSupportedLanguagePairs, setSupportedLanguagePairs
acquireSemaphore, 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, setStartupException
getComponentServiceFactory, getFile, getServiceName, setComponentServiceFactory, setServiceName
protected Collection<ParallelText> doSearch(Language sourceLang, Language targetLang, String matchingValue, MatchingMethod matchingMethod) throws InvalidParameterException, ProcessFailedException
AbstractParallelTextService
doSearch
in class AbstractParallelTextService
sourceLang
- Source languagetargetLang
- Target languagematchingValue
- Keywords to be searchedmatchingMethod
- Matching methodInvalidParameterException
- An invalid parameter was passedProcessFailedException
- Process failedprotected Calendar doGetLastUpdate() throws ProcessFailedException
doGetLastUpdate
in class AbstractService
ProcessFailedException