|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Documented @Retention(value=RUNTIME) public @interface FixedLengthRecord
This annotation represents the root class of the model. When a fixed-length record must be described in the model we will use this annotation to split the data during the unmarshal process.
Optional Element Summary | |
---|---|
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 |
hasFooter
Indicates that the record(s) of this type may be followed by a single footer record at the end of the file |
boolean |
hasHeader
Indicates that the record(s) of this type may be preceded by a single header record at the beginning of in the file |
boolean |
ignoreTrailingChars
Indicates whether trailing characters beyond the last mapped field may be ignored |
boolean |
isFooter
Identifies this FixedLengthRecord as a footer record, which may be used as the last record in the file |
boolean |
isHeader
Identifies this FixedLengthRecord as a header record, which may precede all other records in the file |
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 char paddingChar
public abstract int length
public abstract boolean hasHeader
public abstract boolean hasFooter
public abstract boolean skipHeader
public abstract boolean skipFooter
public abstract boolean isHeader
public abstract boolean isFooter
public abstract boolean ignoreTrailingChars
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |