@Metadata(firstVersion="2.1.0", label="dataformat,transformation,csv", title="Flatpack") public class FlatpackDataFormat extends DataFormatDefinition
Constructor and Description |
---|
FlatpackDataFormat() |
Modifier and Type | Method and Description |
---|---|
protected void |
configureDataFormat(DataFormat dataFormat,
CamelContext camelContext)
Allows derived classes to customize the data format
|
protected DataFormat |
createDataFormat(RouteContext routeContext)
Factory method to create the data format instance
|
Boolean |
getAllowShortLines() |
String |
getDefinition() |
String |
getDelimiter() |
Boolean |
getFixed() |
Boolean |
getIgnoreExtraColumns() |
Boolean |
getIgnoreFirstRecord() |
String |
getParserFactoryRef() |
String |
getTextQualifier() |
void |
setAllowShortLines(Boolean allowShortLines)
Allows for lines to be shorter than expected and ignores the extra characters
|
void |
setDefinition(String definition)
The flatpack pzmap configuration file.
|
void |
setDelimiter(String delimiter)
The delimiter char (could be ; , or similar)
|
void |
setFixed(Boolean fixed)
Delimited or fixed.
|
void |
setIgnoreExtraColumns(Boolean ignoreExtraColumns)
Allows for lines to be longer than expected and ignores the extra characters.
|
void |
setIgnoreFirstRecord(Boolean ignoreFirstRecord)
Whether the first line is ignored for delimited files (for the column headers).
|
void |
setParserFactoryRef(String parserFactoryRef)
References to a custom parser factory to lookup in the registry
|
void |
setTextQualifier(String textQualifier)
If the text is qualified with a character.
|
configureDataFormat, getContentTypeHeader, getDataFormat, getDataFormat, getDataFormat, getDataFormatName, getOtherAttributes, getShortName, setContentTypeHeader, setDataFormat, setDataFormatName, setOtherAttributes, setProperty, setProperty
getId, setId
public FlatpackDataFormat()
public String getDefinition()
public void setDefinition(String definition)
public Boolean getIgnoreFirstRecord()
public void setIgnoreFirstRecord(Boolean ignoreFirstRecord)
public String getTextQualifier()
public void setTextQualifier(String textQualifier)
public String getDelimiter()
public void setDelimiter(String delimiter)
public Boolean getAllowShortLines()
public void setAllowShortLines(Boolean allowShortLines)
public Boolean getIgnoreExtraColumns()
public void setIgnoreExtraColumns(Boolean ignoreExtraColumns)
public String getParserFactoryRef()
public void setParserFactoryRef(String parserFactoryRef)
protected DataFormat createDataFormat(RouteContext routeContext)
DataFormatDefinition
createDataFormat
in class DataFormatDefinition
protected void configureDataFormat(DataFormat dataFormat, CamelContext camelContext)
DataFormatDefinition
configureDataFormat
in class DataFormatDefinition
Apache Camel