@Documented @Retention(value=RUNTIME) public @interface FixedLengthRecord
Modifier and Type | Optional Element and Description |
---|---|
String |
crlf
Character to be used to add a carriage return after each record
(optional) Three values can be used : WINDOWS, UNIX or MAC
This option is used only during marshalling, whereas unmarshalling
uses system default JDK provided line delimiter unless eol is customized
|
String |
eol
Character to be used to process considering end of line
after each record while unmarshalling (optional - default = ""
which help default JDK provided line delimiter to be used
unless any other line delimiter provided)
This option is used only during unmarshalling, where marshalling
uses system default provided line delimiter as "WINDOWS" unless
any other value is provided
|
Class<?> |
footer
Indicates that the record(s) of this type may be followed by a single footer record at the end of the file
|
Class<?> |
header
Indicates that the record(s) of this type may be preceded by a single header record at the beginning of in the file
|
boolean |
ignoreMissingChars
Indicates whether too short lines will be ignored
|
boolean |
ignoreTrailingChars
Indicates whether trailing characters beyond the last mapped field may be ignored
|
int |
length
The fixed length of the record.
|
String |
name
Name describing the record (optional)
|
char |
paddingChar
The char to pad with.
|
boolean |
skipFooter
Configures the data format to skip marshalling / unmarshalling of the footer record
|
boolean |
skipHeader
Configures the data format to skip marshalling / unmarshalling of the header record
|
public abstract String name
public abstract String crlf
public abstract String eol
public abstract char paddingChar
public abstract int length
public abstract Class<?> header
public abstract Class<?> footer
public abstract boolean skipHeader
public abstract boolean skipFooter
Apache Camel