Package | Description |
---|---|
com.univocity.parsers.fixed |
Modifier and Type | Field and Description |
---|---|
private FieldAlignment |
FixedWidthWriter.alignment |
private FieldAlignment |
FixedWidthParser.alignment |
(package private) FieldAlignment[] |
Lookup.alignments |
private FieldAlignment[] |
FixedWidthParser.alignments |
private FieldAlignment |
FixedWidthWriterSettings.defaultAlignmentForHeaders |
private FieldAlignment |
FixedWidthWriter.defaultHeaderAlignment |
private FieldAlignment[] |
FixedWidthWriter.fieldAlignments |
private FieldAlignment[] |
FixedWidthWriter.rootAlignments |
private FieldAlignment[] |
FixedWidthParser.rootAlignments |
Modifier and Type | Field and Description |
---|---|
private java.util.List<FieldAlignment> |
FixedWidthFields.fieldAlignment |
Modifier and Type | Method and Description |
---|---|
FieldAlignment |
FixedWidthFields.getAlignment(int position)
Returns the alignment of a given field.
|
FieldAlignment |
FixedWidthFields.getAlignment(java.lang.String fieldName)
Returns the alignment of a given field.
|
FieldAlignment |
FixedWidthWriterSettings.getDefaultAlignmentForHeaders()
Returns the default alignment to use when writing headers.
|
(package private) FieldAlignment[] |
FixedWidthWriterSettings.getFieldAlignments()
Returns the sequence of field alignments to apply to each field in the record.
|
(package private) FieldAlignment[] |
FixedWidthParserSettings.getFieldAlignments()
Returns the sequence of alignments to consider for each field of each record.
|
FieldAlignment[] |
FixedWidthFields.getFieldAlignments()
Returns a copy of the sequence of alignment settings to apply over each field in the fixed-width record.
|
static FieldAlignment |
FieldAlignment.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FieldAlignment[] |
FieldAlignment.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
FixedWidthFields |
FixedWidthFields.addField(int length,
FieldAlignment alignment)
Adds the length of the next field in a fixed-width record.
|
FixedWidthFields |
FixedWidthFields.addField(int length,
FieldAlignment alignment,
char padding)
Adds the length of the next field in a fixed-width record.
|
FixedWidthFields |
FixedWidthFields.addField(int startPosition,
int endPosition,
FieldAlignment alignment)
Adds the range of the next field in a fixed-width record.
|
FixedWidthFields |
FixedWidthFields.addField(int startPosition,
int endPosition,
FieldAlignment alignment,
char padding)
Adds the range of the next field in a fixed-width record.
|
FixedWidthFields |
FixedWidthFields.addField(java.lang.String name,
int length,
FieldAlignment alignment)
Adds the length of the next field in a fixed-width record.
|
FixedWidthFields |
FixedWidthFields.addField(java.lang.String name,
int length,
FieldAlignment alignment,
char padding)
Adds the length of the next field in a fixed-width record.
|
FixedWidthFields |
FixedWidthFields.addField(java.lang.String name,
int startPosition,
int endPosition,
FieldAlignment alignment)
Adds the range of the next field in a fixed-width record.
|
FixedWidthFields |
FixedWidthFields.addField(java.lang.String name,
int startPosition,
int endPosition,
FieldAlignment alignment,
char padding)
Adds the range of the next field in a fixed-width record.
|
void |
FixedWidthFields.setAlignment(FieldAlignment alignment,
int... positions)
Applies alignment to a given list of fields
|
void |
FixedWidthFields.setAlignment(FieldAlignment alignment,
java.lang.String... names)
Applies alignment to a given list of fields
|
private void |
FixedWidthFields.setAlignment(int position,
FieldAlignment alignment) |
void |
FixedWidthWriterSettings.setDefaultAlignmentForHeaders(FieldAlignment defaultAlignmentForHeaders)
Defines the default alignment to use when writing headers.
|