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 |
extractCells(List<ITextUnit> cells,
TextContainer lineContainer,
long lineNum)
Splits line into table cells.
|
List<String> |
getColumnNames() |
protected String |
getFieldDelimiter() |
protected String |
getFieldQualifier() |
protected void |
init() |
protected boolean |
isMerging() |
protected boolean |
isSendListedMode() |
protected boolean |
processCells(List<ITextUnit> cells,
long lineNum) |
protected TextProcessingResult |
processLine(TextContainer lineContainer)
Called by the filter for every line read from the input
|
callSubfilter, checkTU, isEmpty, processTU, sendAsSkeleton, sendAsSkeleton, sendAsSkeleton, sendAsSource, sendAsSource, sendAsSource, sendAsTargetaddLineBreak, cancel, close, done, getActiveSkeleton, getFirstDocumentPart, getFirstTextUnit, getHeadSkeleton, getLineBreak, getQueueSize, getTargetLocale, hasNext, next, open, open, sendEvent, sendEvent, waitForLineaddConfiguration, 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_MIME
public static final String FILTER_CONFIG
public static String ROW_NUMBER
public static String COLUMN_NUMBER
protected void init()
init in class BasePlainTextFilterprotected TextProcessingResult processLine(TextContainer lineContainer)
AbstractLineFilterprocessLine 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.