@Metadata(label="dataformat,transformation,csv", title="uniVocity") public abstract class UniVocityAbstractDataFormat extends DataFormatDefinition
DataFormat
parsers.Modifier and Type | Field and Description |
---|---|
protected String |
asMap |
protected String |
comment |
protected String |
emptyValue |
protected String |
headerExtractionEnabled |
protected List<UniVocityHeader> |
headers |
protected String |
headersDisabled |
protected String |
ignoreLeadingWhitespaces |
protected String |
ignoreTrailingWhitespaces |
protected String |
lazyLoad |
protected String |
lineSeparator |
protected String |
normalizedLineSeparator |
protected String |
nullValue |
protected String |
numberOfRecordsToRead |
protected String |
skipEmptyLines |
Modifier | Constructor and Description |
---|---|
protected |
UniVocityAbstractDataFormat() |
protected |
UniVocityAbstractDataFormat(String dataFormatName) |
Modifier and Type | Method and Description |
---|---|
String |
getAsMap() |
String |
getComment() |
String |
getEmptyValue() |
String |
getHeaderExtractionEnabled() |
List<UniVocityHeader> |
getHeaders() |
String |
getHeadersDisabled() |
String |
getIgnoreLeadingWhitespaces() |
String |
getIgnoreTrailingWhitespaces() |
String |
getLazyLoad() |
String |
getLineSeparator() |
String |
getNormalizedLineSeparator() |
String |
getNullValue() |
String |
getNumberOfRecordsToRead() |
String |
getSkipEmptyLines() |
void |
setAsMap(String asMap)
Whether the unmarshalling should produce maps for the lines values instead of lists.
|
void |
setComment(String comment)
The comment symbol.
|
void |
setEmptyValue(String emptyValue)
The String representation of an empty value
|
void |
setHeaderExtractionEnabled(String headerExtractionEnabled)
Whether or not the header must be read in the first line of the test document
The default value is false
|
void |
setHeaders(List<UniVocityHeader> headers)
The headers to use.
|
void |
setHeadersDisabled(String headersDisabled)
Whether or not the headers are disabled.
|
void |
setIgnoreLeadingWhitespaces(String ignoreLeadingWhitespaces)
Whether or not the leading white spaces must be ignored.
|
void |
setIgnoreTrailingWhitespaces(String ignoreTrailingWhitespaces)
Whether or not the trailing white spaces must ignored.
|
void |
setLazyLoad(String lazyLoad)
Whether the unmarshalling should produce an iterator that reads the lines on the fly or if all the lines must be
read at one.
|
void |
setLineSeparator(String lineSeparator)
The line separator of the files
The default value is to use the JVM platform line separator
|
void |
setNormalizedLineSeparator(String normalizedLineSeparator)
The normalized line separator of the files
The default value is a new line character.
|
void |
setNullValue(String nullValue)
The string representation of a null value.
|
void |
setNumberOfRecordsToRead(String numberOfRecordsToRead)
The maximum number of record to read.
|
void |
setSkipEmptyLines(String skipEmptyLines)
Whether or not the empty lines must be ignored.
|
getDataFormat, getDataFormatName, getShortName, setDataFormat, setDataFormatName
getId, setId
protected String nullValue
@Metadata(javaType="java.lang.Boolean", defaultValue="true") protected String skipEmptyLines
@Metadata(javaType="java.lang.Boolean", defaultValue="true") protected String ignoreTrailingWhitespaces
@Metadata(javaType="java.lang.Boolean", defaultValue="true") protected String ignoreLeadingWhitespaces
@Metadata(javaType="java.lang.Boolean") protected String headersDisabled
protected List<UniVocityHeader> headers
@Metadata(javaType="java.lang.Boolean") protected String headerExtractionEnabled
@Metadata(javaType="java.lang.Integer") protected String numberOfRecordsToRead
protected String emptyValue
protected String lineSeparator
@Metadata(defaultValue="\\n") protected String normalizedLineSeparator
@Metadata(defaultValue="#") protected String comment
@Metadata(javaType="java.lang.Boolean") protected String lazyLoad
@Metadata(javaType="java.lang.Boolean") protected String asMap
protected UniVocityAbstractDataFormat()
protected UniVocityAbstractDataFormat(String dataFormatName)
public String getNullValue()
public void setNullValue(String nullValue)
public String getSkipEmptyLines()
public void setSkipEmptyLines(String skipEmptyLines)
public String getIgnoreTrailingWhitespaces()
public void setIgnoreTrailingWhitespaces(String ignoreTrailingWhitespaces)
public String getIgnoreLeadingWhitespaces()
public void setIgnoreLeadingWhitespaces(String ignoreLeadingWhitespaces)
public String getHeadersDisabled()
public void setHeadersDisabled(String headersDisabled)
public List<UniVocityHeader> getHeaders()
public void setHeaders(List<UniVocityHeader> headers)
public String getHeaderExtractionEnabled()
public void setHeaderExtractionEnabled(String headerExtractionEnabled)
public String getNumberOfRecordsToRead()
public void setNumberOfRecordsToRead(String numberOfRecordsToRead)
public String getEmptyValue()
public void setEmptyValue(String emptyValue)
public String getLineSeparator()
public void setLineSeparator(String lineSeparator)
public String getNormalizedLineSeparator()
public void setNormalizedLineSeparator(String normalizedLineSeparator)
public String getComment()
public void setComment(String comment)
public String getLazyLoad()
public void setLazyLoad(String lazyLoad)
public String getAsMap()
public void setAsMap(String asMap)
Apache Camel