@Documented @Retention(value=RUNTIME) public @interface CsvRecord
Modifier and Type | Required Element and Description |
---|---|
String |
separator
Separator used to split a record in tokens (mandatory)
|
Modifier and Type | Optional Element and Description |
---|---|
boolean |
autospanLine
Last record spans rest of line (optional)
|
String |
crlf
Character to be used to add a carriage return after each record
(optional) Three values can be used : WINDOWS, UNIX or MAC.
|
boolean |
generateHeaderColumns
The generateHeaderColumns parameter allow to add in the CSV generated the
header containing names of the columns
|
boolean |
isOrdered
Indicates if the message must be ordered in output
|
String |
name
Name describing the record (optional)
|
String |
quote
Whether to marshal columns with the given quote character (optional)
|
boolean |
quoting
Indicate if the values must be quoted when marshaling (optional)
|
boolean |
skipFirstLine
The skipFirstLine parameter will allow to skip or not the first line of a
CSV file.
|
public abstract String separator
public abstract String name
public abstract boolean skipFirstLine
public abstract String crlf
public abstract boolean generateHeaderColumns
public abstract boolean isOrdered
public abstract String quote
public abstract boolean quoting
public abstract boolean autospanLine
Apache Camel