Deprecated
This class has been modified over time and its name became misleading. Use FixedWidthFields instead.
| Access | Constructor and Description |
|---|---|
| public | FixedWidthFieldLengths(LinkedHashMap<String, Integer>
a fields)LinkedHashMap containing the sequence of fields to be associated with each column in the input/output, with their respective length.Defines a sequence of field names used to refer to columns in the input/output text of an entity, along with their lengths. |
| public | FixedWidthFieldLengths(String[]
the sequence of fields to be associated with each column in the input/output headers, int[] the sequence of lengths to be associated with each given header. The size of this array must match the number of given headers. lengths)Defines a sequence of field names used to refer to columns in the input/output text of an entity, along with their lengths. |
| public | FixedWidthFieldLengths(int...
The number lengths of all fields in a fixed-width record. All lengths must be greater than 0. fieldLengths)Creates a new instance initialized with the lengths of all fields in a fixed-width record. |
| FixedWidthFieldLengths | back to summary |
|---|---|
| public FixedWidthFieldLengths(LinkedHashMap<String, Integer> fields) Defines a sequence of field names used to refer to columns in the input/output text of an entity, along with their lengths.
The field names defined will be used as headers, having the same effect of a call to
| |
| FixedWidthFieldLengths | back to summary |
|---|---|
| public FixedWidthFieldLengths(String[] headers, int[] lengths) Defines a sequence of field names used to refer to columns in the input/output text of an entity, along with their lengths.
The field names defined will be used as headers, having the same effect of a call to
| |
| FixedWidthFieldLengths | back to summary |
|---|---|
| public FixedWidthFieldLengths(int... fieldLengths) Creates a new instance initialized with the lengths of all fields in a fixed-width record.
| |