Package | Description |
---|---|
com.univocity.parsers.fixed |
Modifier and Type | Method and Description |
---|---|
FieldAlignment |
FixedWidthFields.getAlignment(int position)
Returns the alignment of a given field.
|
FieldAlignment |
FixedWidthFields.getAlignment(String fieldName)
Returns the alignment of a given field.
|
FieldAlignment |
FixedWidthWriterSettings.getDefaultAlignmentForHeaders()
Returns the default alignment to use when writing headers.
|
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(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(String name,
int length,
FieldAlignment alignment)
Adds the length of the next field in a fixed-width record.
|
FixedWidthFields |
FixedWidthFields.addField(String name,
int length,
FieldAlignment alignment,
char padding)
Adds the length of the next field in a fixed-width record.
|
FixedWidthFields |
FixedWidthFields.addField(String name,
int startPosition,
int endPosition,
FieldAlignment alignment)
Adds the range of the next field in a fixed-width record.
|
FixedWidthFields |
FixedWidthFields.addField(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,
String... names)
Applies alignment to a given list of fields
|
void |
FixedWidthWriterSettings.setDefaultAlignmentForHeaders(FieldAlignment defaultAlignmentForHeaders)
Defines the default alignment to use when writing headers.
|
Copyright © 2019 Univocity Software Pty Ltd. All rights reserved.