@Retention(value=RUNTIME)
@Target(value={FIELD,PARAMETER})
public @interface FixedField
| Modifier and Type | Required Element and Description |
|---|---|
int |
length
Length of the field
|
int |
offset
Offset of the field
|
| Modifier and Type | Optional Element and Description |
|---|---|
Align |
align
Align of fixed format field, default is RIGHT
|
boolean |
allowEmptyStrings
Allows empty string as value, by default it is false.
|
int |
divide
If number fields should be divided.
|
java.lang.String |
format
Format for formattable fields like LocalDate
|
java.lang.String |
ignore
Ignore field content if is matches this regular expression pattern.
|
char |
padding
Padding chars that will be trimmed.
|
public abstract Align align
public abstract char padding
public abstract java.lang.String format
public abstract int divide