public class ParaPlainTextFilter extends BasePlainTextFilter
| Modifier and Type | Field and Description |
|---|---|
static String |
FILTER_CONFIG |
static String |
FILTER_CONFIG_LINES |
static String |
FILTER_NAME |
FILTER_CONFIG_TRIM_ALL, FILTER_CONFIG_TRIM_TRAIL, FILTER_MIMEinput, LINE_NUMBER, srcLang, startDoc, trgLangSUB_FILTER| Constructor and Description |
|---|
ParaPlainTextFilter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
done() |
protected void |
init() |
protected TextProcessingResult |
processLine(TextContainer lineContainer)
Called by the filter for every line read from the input
|
protected void |
waitForLine(boolean lastChance)
Called by the filter when there are no input lines (the input has been read).
|
callSubfilter, checkTU, isEmpty, processTU, sendAsSkeleton, sendAsSkeleton, sendAsSkeleton, sendAsSource, sendAsSource, sendAsSource, sendAsTargetaddLineBreak, cancel, close, getActiveSkeleton, getFirstDocumentPart, getFirstTextUnit, getHeadSkeleton, getLineBreak, getQueueSize, getTargetLocale, hasNext, next, open, open, sendEvent, sendEventaddConfiguration, addConfiguration, addConfiguration, addConfigurations, createEndFilterEvent, createFilterWriter, createSkeletonWriter, createStartFilterEvent, findConfiguration, getConfiguration, getConfigurations, getDisplayName, getDocumentId, getDocumentName, getEncoderManager, getEncoding, getFilterConfigurationMapper, getFilterWriter, getMimeType, getName, getNewlineType, getParameters, getParameters, getParametersClassName, getParentId, getSrcLoc, getTrgLoc, isCanceled, isGenerateSkeleton, isMultilingual, isUtf8Bom, isUtf8Encoding, removeConfiguration, setDisplayName, setDocumentName, setEncoding, setFilterConfigurationMapper, setFilterWriter, setGenerateSkeleton, setMimeType, setMultilingual, setName, setNewlineType, setOptions, setParameters, setParentId, setSrcLoc, setTrgLocclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, removepublic static final String FILTER_NAME
public static final String FILTER_CONFIG
public static final String FILTER_CONFIG_LINES
protected void init()
init in class BasePlainTextFilterprotected TextProcessingResult processLine(TextContainer lineContainer)
AbstractLineFilterprocessLine in class BasePlainTextFilterprotected void waitForLine(boolean lastChance)
AbstractLineFilterwaitForLine 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 done()
done in class AbstractLineFilterCopyright © 2021. All rights reserved.