|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME)
@Inherited
@Target(value={FIELD,METHOD,ANNOTATION_TYPE})
public @interface FixedWidth
The @FixedWidth annotation, along with the Parsed annotation, allows users to configure the length,
alignment and padding of fields parsed/written using the FixedWidthParser and FixedWidthWriter
Commonly used for java beans processed using BeanProcessor and/or BeanWriterProcessor
FixedWidthFields,
FixedWidthParser,
FixedWidthWriter,
FixedWidthParserSettings,
FixedWidthWriterSettings,
BeanProcessor,
BeanWriterProcessor| Optional Element Summary | |
|---|---|
FieldAlignment |
alignment
Sets the alignment of the fixed-width field |
int |
from
Defines the starting position of the fixed-width field |
char |
padding
Sets the padding character of the fixed-width field |
int |
to
Defines the end position of the fixed-width field |
int |
value
Sets the length of the fixed-width field |
public abstract int value
public abstract FieldAlignment alignment
public abstract char padding
public abstract int from
public abstract int to
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||