@Documented @Retention(value=RUNTIME) public @interface FixedLengthRecord
| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
countGrapheme
Indicates how chars are counted
|
String |
crlf
Character to be used to add a carriage return after each record (optional).
|
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 that characters beyond the last mapped filed can be ignored when unmarshalling / parsing.
|
int |
length
The fixed length of the record (number of characters).
|
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
public abstract boolean ignoreTrailingChars
Apache Camel