public class SplicedLinesFilter extends BasePlainTextFilter
| Modifier and Type | Field and Description |
|---|---|
static String |
FILTER_CONFIG |
static String |
FILTER_CONFIG_BACKSLASH |
static String |
FILTER_CONFIG_CUSTOM |
static String |
FILTER_CONFIG_UNDERSCORE |
static String |
FILTER_NAME |
FILTER_CONFIG_TRIM_ALL, FILTER_CONFIG_TRIM_TRAIL, FILTER_MIMEinput, LINE_NUMBER, srcLang, startDoc, trgLangSUB_FILTER| Constructor and Description |
|---|
SplicedLinesFilter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
component_done() |
protected TextProcessingResult |
component_exec(TextContainer lineContainer)
Called by the filter for every line read from the input
|
protected void |
component_idle(boolean lastChance)
Called by the filter when there are no input lines (the input has been read).
|
protected void |
component_init() |
callSubfilter, checkTU, getFilterConfigurationMapper, isEmpty, processTU, sendAsSkeleton, sendAsSkeleton, sendAsSkeleton, sendAsSource, sendAsSource, sendAsSource, sendAsTarget, setFilterConfigurationMapperaddLineBreak, cancel, close, createFilterWriter, createSkeletonWriter, getActiveSkeleton, getFilterWriter, getFirstDocumentPart, getFirstTextUnit, getHeadSkeleton, getLineBreak, getQueueSize, getTargetLocale, hasNext, isMultilingual, next, notify, open, open, sendEvent, sendEvent, setFilterWriter, setMultilingualaddConfiguration, addConfiguration, addConfigurations, findConfiguration, getConfigurations, getDisplayName, getEncoderManager, getMimeType, removeConfiguration, setConfiguration, setDisplayName, setMimeTypegetParameters, getParameters, getParametersClassName, setParametersexec, getDescription, getName, setDescription, setName, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetName, getParameters, setParameters, streamforEachRemaining, removepublic static final String FILTER_NAME
public static final String FILTER_CONFIG
public static final String FILTER_CONFIG_UNDERSCORE
public static final String FILTER_CONFIG_BACKSLASH
public static final String FILTER_CONFIG_CUSTOM
protected void component_init()
component_init in class BasePlainTextFilterprotected TextProcessingResult component_exec(TextContainer lineContainer)
AbstractLineFiltercomponent_exec in class BasePlainTextFilterprotected void component_idle(boolean lastChance)
AbstractLineFiltercomponent_idle in class AbstractLineFilterlastChance - True if there are no events in the queue, and if the method will not produce events, the filter will be finished.protected void component_done()
component_done in class BasePlainTextFilterCopyright © 2021. All rights reserved.