public class ReplacementTerm extends AbstractReplacementTermService
| Modifier and Type | Field and Description |
|---|---|
protected static Set<String> |
LANGUAGES |
ALL_MATCHINGMETHODS, EMPTY_LANGUAGEPAIRS, EMPTY_LANGUAGEPATHS, EMPTY_LANGUAGES, MINIMUM_MATCHINGMETHODS| Constructor and Description |
|---|
ReplacementTerm() |
ReplacementTerm(ServiceContext context) |
| Modifier and Type | Method and Description |
|---|---|
String |
doReplace(String sourceLang,
String text,
String[] searchWords,
String[] replacementWords) |
protected String |
replacementFromIntermediateCode(String sourceLang,
String text,
String[] searchWords,
String[] replacementWords) |
replaceacquireSemaphore, 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, setServiceNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLastUpdatepublic ReplacementTerm()
public ReplacementTerm(ServiceContext context)
public String doReplace(String sourceLang, String text, String[] searchWords, String[] replacementWords) throws AccessLimitExceededException, InvalidParameterException, LanguageNotUniquelyDecidedException, NoAccessPermissionException, NoValidEndpointsException, ProcessFailedException, ServerBusyException, ServiceNotActiveException, ServiceNotFoundException, UnsupportedLanguageException
doReplace in class AbstractReplacementTermServiceAccessLimitExceededExceptionInvalidParameterExceptionLanguageNotUniquelyDecidedExceptionNoAccessPermissionExceptionNoValidEndpointsExceptionProcessFailedExceptionServerBusyExceptionServiceNotActiveExceptionServiceNotFoundExceptionUnsupportedLanguageException