@Metadata(label="dataformat,transformation,csv", title="uniVocity Fixed Length") public class UniVocityFixedWidthDataFormat extends UniVocityAbstractDataFormat
Modifier and Type | Field and Description |
---|---|
protected String |
padding |
protected Boolean |
recordEndsOnNewline |
protected Boolean |
skipTrailingCharsUntilNewline |
asMap, comment, emptyValue, headerExtractionEnabled, headers, headersDisabled, ignoreLeadingWhitespaces, ignoreTrailingWhitespaces, lazyLoad, lineSeparator, normalizedLineSeparator, nullValue, numberOfRecordsToRead, skipEmptyLines
Constructor and Description |
---|
UniVocityFixedWidthDataFormat() |
Modifier and Type | Method and Description |
---|---|
protected void |
configureDataFormat(DataFormat dataFormat,
CamelContext camelContext)
Allows derived classes to customize the data format
|
String |
getPadding() |
Boolean |
getRecordEndsOnNewline() |
Boolean |
getSkipTrailingCharsUntilNewline() |
void |
setPadding(String padding)
The padding character.
|
void |
setRecordEndsOnNewline(Boolean recordEndsOnNewline)
Whether or not the record ends on new line.
|
void |
setSkipTrailingCharsUntilNewline(Boolean skipTrailingCharsUntilNewline)
Whether or not the trailing characters until new line must be ignored.
|
getAsMap, getComment, getEmptyValue, getHeaderExtractionEnabled, getHeaders, getHeadersDisabled, getIgnoreLeadingWhitespaces, getIgnoreTrailingWhitespaces, getLazyLoad, getLineSeparator, getNormalizedLineSeparator, getNullValue, getNumberOfRecordsToRead, getSkipEmptyLines, setAsMap, setComment, setEmptyValue, setHeaderExtractionEnabled, setHeaders, setHeadersDisabled, setIgnoreLeadingWhitespaces, setIgnoreTrailingWhitespaces, setLazyLoad, setLineSeparator, setNormalizedLineSeparator, setNullValue, setNumberOfRecordsToRead, setSkipEmptyLines, singleCharOf
configureDataFormat, createDataFormat, getDataFormat, getDataFormat, getDataFormat, getDataFormatName, getOtherAttributes, getShortName, setDataFormat, setDataFormatName, setOtherAttributes, setProperty, setProperty
getId, setId
protected Boolean skipTrailingCharsUntilNewline
protected Boolean recordEndsOnNewline
public UniVocityFixedWidthDataFormat()
public Boolean getSkipTrailingCharsUntilNewline()
public void setSkipTrailingCharsUntilNewline(Boolean skipTrailingCharsUntilNewline)
public Boolean getRecordEndsOnNewline()
public void setRecordEndsOnNewline(Boolean recordEndsOnNewline)
public String getPadding()
public void setPadding(String padding)
protected void configureDataFormat(DataFormat dataFormat, CamelContext camelContext)
DataFormatDefinition
configureDataFormat
in class UniVocityAbstractDataFormat
Apache Camel