public class BaseTableFilter extends BasePlainTextFilter
| Modifier and Type | Field and Description |
|---|---|
static String |
COLUMN_NUMBER |
protected List<String> |
columnNames |
protected List<Integer> |
commentColumns |
protected List<Integer> |
commentSourceRefs |
static String |
FILTER_CONFIG |
static String |
FILTER_MIME |
static String |
FILTER_NAME |
static String |
ROW_NUMBER |
protected List<Integer> |
sourceColumns |
protected List<Integer> |
sourceIdColumns |
protected List<Integer> |
sourceIdSourceRefs |
protected List<String> |
sourceIdSuffixes |
protected List<Integer> |
targetColumns |
protected List<LocaleId> |
targetLanguages |
protected List<Integer> |
targetSourceRefs |
FILTER_CONFIG_TRIM_ALL, FILTER_CONFIG_TRIM_TRAILinput, LINE_NUMBER, srcLang, startDoc, trgLangSUB_FILTER| Constructor and Description |
|---|
BaseTableFilter() |
| Modifier and Type | Method and Description |
|---|---|
protected TextProcessingResult |
component_exec(TextContainer lineContainer)
Called by the filter for every line read from the input
|
protected void |
component_init() |
protected TextProcessingResult |
extractCells(List<ITextUnit> cells,
TextContainer lineContainer,
long lineNum)
Splits line into table cells.
|
List<String> |
getColumnNames() |
protected String |
getFieldDelimiter() |
protected String |
getFieldQualifier() |
protected boolean |
isMerging() |
protected boolean |
isSendListedMode() |
protected boolean |
processCells(List<ITextUnit> cells,
long lineNum) |
callSubfilter, checkTU, component_done, getFilterConfigurationMapper, isEmpty, processTU, sendAsSkeleton, sendAsSkeleton, sendAsSkeleton, sendAsSource, sendAsSource, sendAsSource, sendAsTarget, setFilterConfigurationMapperaddLineBreak, cancel, close, component_idle, 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_MIME
public static final String FILTER_CONFIG
public static String ROW_NUMBER
public static String COLUMN_NUMBER
protected void component_init()
component_init in class BasePlainTextFilterprotected TextProcessingResult component_exec(TextContainer lineContainer)
AbstractLineFiltercomponent_exec in class BasePlainTextFilterprotected TextProcessingResult extractCells(List<ITextUnit> cells, TextContainer lineContainer, long lineNum)
line - string containing separated cellsprotected String getFieldDelimiter()
protected String getFieldQualifier()
protected boolean isSendListedMode()
protected boolean isMerging()
Copyright © 2021. All rights reserved.