Package | Description |
---|---|
com.univocity.parsers.fixed |
Modifier and Type | Class and Description |
---|---|
class |
FixedWidthFieldLengths
Deprecated.
This class has been modified over time and its name became misleading. Use
FixedWidthFields instead. |
Modifier and Type | Field and Description |
---|---|
private FixedWidthFields |
FixedWidthParserSettings.fieldLengths |
private FixedWidthFields |
FixedWidthWriterSettings.fieldLengths |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,FixedWidthFields> |
FixedWidthParserSettings.lookaheadFormats |
private java.util.Map<java.lang.String,FixedWidthFields> |
FixedWidthWriterSettings.lookaheadFormats |
private java.util.Map<java.lang.String,FixedWidthFields> |
FixedWidthParserSettings.lookbehindFormats |
private java.util.Map<java.lang.String,FixedWidthFields> |
FixedWidthWriterSettings.lookbehindFormats |
Modifier and Type | Method and Description |
---|---|
FixedWidthFields |
FixedWidthFields.addField(int length)
Adds the length of the next field in a fixed-width record.
|
FixedWidthFields |
FixedWidthFields.addField(int length,
char padding)
Adds the length of the next field in a fixed-width record.
|
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)
Adds the range of the next field in a fixed-width record.
|
FixedWidthFields |
FixedWidthFields.addField(int startPosition,
int endPosition,
char padding)
Adds the range 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)
Adds the length of the next field in a fixed-width record.
|
FixedWidthFields |
FixedWidthFields.addField(java.lang.String name,
int length,
char padding)
Adds the length 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)
Adds the range of the next field in a fixed-width record.
|
FixedWidthFields |
FixedWidthFields.addField(java.lang.String name,
int startPosition,
int endPosition,
char padding)
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)
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.
|
protected FixedWidthFields |
FixedWidthFields.clone() |
static FixedWidthFields |
FixedWidthFields.forParsing(java.lang.Class beanClass)
Creates a new instance initialized from
FixedWidth annotations in the fields and methods of a given class. |
static FixedWidthFields |
FixedWidthFields.forWriting(java.lang.Class beanClass)
Creates a new instance initialized from
FixedWidth annotations in the fields and methods of a given class. |
Modifier and Type | Method and Description |
---|---|
void |
FixedWidthParserSettings.addFormatForLookahead(java.lang.String lookahead,
FixedWidthFields lengths)
Defines the format of records identified by a lookahead symbol.
|
void |
FixedWidthWriterSettings.addFormatForLookahead(java.lang.String lookahead,
FixedWidthFields lengths)
Defines the format of records identified by a lookahead symbol.
|
void |
FixedWidthParserSettings.addFormatForLookbehind(java.lang.String lookbehind,
FixedWidthFields lengths)
Defines the format of records identified by a lookbehind symbol.
|
void |
FixedWidthWriterSettings.addFormatForLookbehind(java.lang.String lookbehind,
FixedWidthFields lengths)
Defines the format of records identified by a lookbehind symbol.
|
(package private) static int[] |
Lookup.calculateMaxFieldLengths(FixedWidthFields fieldLengths,
java.util.Map<java.lang.String,FixedWidthFields> lookaheadFormats,
java.util.Map<java.lang.String,FixedWidthFields> lookbehindFormats) |
private FixedWidthParserSettings |
FixedWidthParserSettings.clone(boolean clearInputSpecificSettings,
FixedWidthFields fields) |
private FixedWidthWriterSettings |
FixedWidthWriterSettings.clone(boolean clearInputSpecificSettings,
FixedWidthFields fields) |
FixedWidthParserSettings |
FixedWidthParserSettings.clone(FixedWidthFields fields)
Clones this configuration object to reuse most user-provided settings.
|
FixedWidthWriterSettings |
FixedWidthWriterSettings.clone(FixedWidthFields fields)
Clones this configuration object to reuse most user-provided settings.
|
(package private) static void |
Lookup.registerLookahead(java.lang.String lookup,
FixedWidthFields lengths,
java.util.Map<java.lang.String,FixedWidthFields> map) |
(package private) static void |
Lookup.registerLookbehind(java.lang.String lookup,
FixedWidthFields lengths,
java.util.Map<java.lang.String,FixedWidthFields> map) |
private static void |
Lookup.registerLookup(java.lang.String direction,
java.lang.String lookup,
FixedWidthFields lengths,
java.util.Map<java.lang.String,FixedWidthFields> map) |
(package private) void |
FixedWidthWriterSettings.setFieldLengths(FixedWidthFields fieldLengths) |
(package private) static void |
FixedWidthFields.setHeadersIfPossible(FixedWidthFields fieldLengths,
CommonSettings settings) |
Modifier and Type | Method and Description |
---|---|
(package private) static int[] |
Lookup.calculateMaxFieldLengths(FixedWidthFields fieldLengths,
java.util.Map<java.lang.String,FixedWidthFields> lookaheadFormats,
java.util.Map<java.lang.String,FixedWidthFields> lookbehindFormats) |
(package private) static int[] |
Lookup.calculateMaxFieldLengths(FixedWidthFields fieldLengths,
java.util.Map<java.lang.String,FixedWidthFields> lookaheadFormats,
java.util.Map<java.lang.String,FixedWidthFields> lookbehindFormats) |
(package private) static Lookup[] |
Lookup.getLookupFormats(java.util.Map<java.lang.String,FixedWidthFields> map,
FixedWidthFormat format) |
(package private) static void |
Lookup.registerLookahead(java.lang.String lookup,
FixedWidthFields lengths,
java.util.Map<java.lang.String,FixedWidthFields> map) |
(package private) static void |
Lookup.registerLookbehind(java.lang.String lookup,
FixedWidthFields lengths,
java.util.Map<java.lang.String,FixedWidthFields> map) |
private static void |
Lookup.registerLookup(java.lang.String direction,
java.lang.String lookup,
FixedWidthFields lengths,
java.util.Map<java.lang.String,FixedWidthFields> map) |
Constructor and Description |
---|
FixedWidthParserSettings(FixedWidthFields fieldLengths)
You can only create an instance of this class by providing a definition of the field lengths of each record in the input.
|
FixedWidthWriterSettings(FixedWidthFields fieldLengths)
You can only create an instance of this class by providing a definition of the field lengths of each record in the input.
|
Lookup(java.lang.String value,
FixedWidthFields config,
FixedWidthFormat format) |