public class CommaSeparatedValuesFilter extends BaseTableFilter
| Modifier and Type | Field and Description |
|---|---|
static String |
FILTER_CONFIG |
static String |
FILTER_NAME |
static String |
PROP_QUALIFIED |
COLUMN_NUMBER, columnNames, commentColumns, commentSourceRefs, FILTER_MIME, ROW_NUMBER, sourceColumns, sourceIdColumns, sourceIdSourceRefs, sourceIdSuffixes, targetColumns, targetLanguages, targetSourceRefsFILTER_CONFIG_TRIM_ALL, FILTER_CONFIG_TRIM_TRAILinput, LINE_NUMBER, srcLang, startDoc, trgLangSUB_FILTER| Constructor and Description |
|---|
CommaSeparatedValuesFilter() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkTU(ITextUnit textUnit) |
protected void |
component_done() |
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() |
ISkeletonWriter |
createSkeletonWriter()
Creates a new ISkeletonWriter object that corresponds to the type of skeleton
this filter uses.
|
protected TextProcessingResult |
extractCells(List<ITextUnit> cells,
TextContainer lineContainer,
long lineNum)
Splits line into table cells.
|
protected String |
getFieldDelimiter() |
protected String |
getFieldQualifier() |
protected boolean |
isEmpty(ITextUnit textUnit) |
protected boolean |
isMerging() |
protected boolean |
processTU(ITextUnit textUnit) |
component_exec, getColumnNames, isSendListedMode, processCellscallSubfilter, getFilterConfigurationMapper, sendAsSkeleton, sendAsSkeleton, sendAsSkeleton, sendAsSource, sendAsSource, sendAsSource, sendAsTarget, setFilterConfigurationMapperaddLineBreak, cancel, close, createFilterWriter, 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 PROP_QUALIFIED
protected void component_init()
component_init in class BaseTableFilterprotected String getFieldDelimiter()
getFieldDelimiter in class BaseTableFilterprotected String getFieldQualifier()
getFieldQualifier in class BaseTableFilterprotected TextProcessingResult extractCells(List<ITextUnit> cells, TextContainer lineContainer, long lineNum)
BaseTableFilterextractCells in class BaseTableFilterprotected boolean processTU(ITextUnit textUnit)
processTU 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 BasePlainTextFilterprotected boolean isMerging()
isMerging in class BaseTableFilterpublic ISkeletonWriter createSkeletonWriter()
IFiltercreateSkeletonWriter in interface IFiltercreateSkeletonWriter in class AbstractLineFilterprotected boolean checkTU(ITextUnit textUnit)
checkTU in class BasePlainTextFilterprotected boolean isEmpty(ITextUnit textUnit)
isEmpty in class BasePlainTextFilterCopyright © 2021. All rights reserved.