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) |
ISkeletonWriter |
createSkeletonWriter()
Creates a new ISkeletonWriter object that corresponds to the type of skeleton
this filter uses.
|
protected void |
done() |
protected TextProcessingResult |
extractCells(List<ITextUnit> cells,
TextContainer lineContainer,
long lineNum)
Splits line into table cells.
|
protected String |
getFieldDelimiter() |
protected String |
getFieldQualifier() |
protected void |
init() |
protected boolean |
isEmpty(ITextUnit textUnit) |
protected boolean |
isMerging() |
protected boolean |
processTU(ITextUnit textUnit) |
protected void |
waitForLine(boolean lastChance)
Called by the filter when there are no input lines (the input has been read).
|
getColumnNames, isSendListedMode, processCells, processLinecallSubfilter, 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, 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 PROP_QUALIFIED
protected void init()
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 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 AbstractLineFilterprotected boolean isMerging()
isMerging in class BaseTableFilterpublic ISkeletonWriter createSkeletonWriter()
IFiltercreateSkeletonWriter in interface IFiltercreateSkeletonWriter in class AbstractFilterprotected boolean checkTU(ITextUnit textUnit)
checkTU in class BasePlainTextFilterprotected boolean isEmpty(ITextUnit textUnit)
isEmpty in class BasePlainTextFilterCopyright © 2021. All rights reserved.