FixedWidthFormat, FixedWidthFields, FixedWidthParserSettings, FixedWidthWriter, AbstractParser
| Modifier and Type | Field and Description |
|---|---|
| private FieldAlignment | |
| private FieldAlignment[] | |
| private final char | |
| private boolean[] | |
| private boolean | |
| private final boolean | |
| private Boolean[] | |
| private int | |
| private int[] | |
| private final Lookup[] | |
| private LookaheadCharInputReader | |
| private Lookup | |
| private final Lookup[] | |
| private Lookup | |
| private int | |
| private final char | |
| private char | |
| private char[] | |
| private final boolean | |
| private FieldAlignment[] | |
| private boolean[] | |
| private Boolean[] | |
| private int[] | |
| private char[] | |
| private final boolean | |
| private final boolean | |
| private boolean | |
| private final char |
| Access | Constructor and Description |
|---|---|
| public | FixedWidthParser(FixedWidthParserSettings
the parser configuration settings)The FixedWidthParser supports all settings provided by |
| Modifier and Type | Method and Description |
|---|---|
| protected ParsingContext | |
| protected void | parseRecord()
Implements abstract com. |
| private void | |
| private void | |
| private void | |
| private void | |
| private void |
| alignment | back to summary |
|---|---|
| private FieldAlignment alignment | |
| alignments | back to summary |
|---|---|
| private FieldAlignment[] alignments | |
| defaultPadding | back to summary |
|---|---|
| private final char defaultPadding | |
| ignore | back to summary |
|---|---|
| private boolean[] ignore | |
| initializeLookaheadInput | back to summary |
|---|---|
| private boolean initializeLookaheadInput | |
| keepPadding | back to summary |
|---|---|
| private final boolean keepPadding | |
| keepPaddingFlags | back to summary |
|---|---|
| private Boolean[] keepPaddingFlags | |
| length | back to summary |
|---|---|
| private int length | |
| lengths | back to summary |
|---|---|
| private int[] lengths | |
| lookaheadFormats | back to summary |
|---|---|
| private final Lookup[] lookaheadFormats | |
| lookaheadInput | back to summary |
|---|---|
| private LookaheadCharInputReader lookaheadInput | |
| lookbehindFormat | back to summary |
|---|---|
| private Lookup lookbehindFormat | |
| lookbehindFormats | back to summary |
|---|---|
| private final Lookup[] lookbehindFormats | |
| lookupFormat | back to summary |
|---|---|
| private Lookup lookupFormat | |
| maxLookupLength | back to summary |
|---|---|
| private int maxLookupLength | |
| newLine | back to summary |
|---|---|
| private final char newLine | |
| padding | back to summary |
|---|---|
| private char padding | |
| paddings | back to summary |
|---|---|
| private char[] paddings | |
| recordEndsOnNewLine | back to summary |
|---|---|
| private final boolean recordEndsOnNewLine | |
| rootAlignments | back to summary |
|---|---|
| private FieldAlignment[] rootAlignments | |
| rootIgnore | back to summary |
|---|---|
| private boolean[] rootIgnore | |
| rootKeepPaddingFlags | back to summary |
|---|---|
| private Boolean[] rootKeepPaddingFlags | |
| rootLengths | back to summary |
|---|---|
| private int[] rootLengths | |
| rootPaddings | back to summary |
|---|---|
| private char[] rootPaddings | |
| skipEmptyLines | back to summary |
|---|---|
| private final boolean skipEmptyLines | |
| skipToNewLine | back to summary |
|---|---|
| private final boolean skipToNewLine | |
| useDefaultPadding | back to summary |
|---|---|
| private boolean useDefaultPadding | |
| wildcard | back to summary |
|---|---|
| private final char wildcard | |
| FixedWidthParser | back to summary |
|---|---|
| public FixedWidthParser(FixedWidthParserSettings settings) The FixedWidthParser supports all settings provided by
| |
| createParsingContext | back to summary |
|---|---|
| protected ParsingContext createParsingContext() Overrides com.
| |
| parseRecord | back to summary |
|---|---|
| protected void parseRecord() Implements abstract com. Doc from com. Parser-specific implementation for reading a single record from the input. The AbstractParser handles the initialization and processing of the input until it is ready to be parsed. It then delegates the input to the parser-specific implementation defined by
Once the After the record processing, the AbstractParser reads the next characters from the input, delegating control again to the parseRecord() implementation for processing of the next record. This cycle repeats until the reading process is stopped by the user, the input is exhausted, or an error happens. In case of errors, the unchecked exception
| |
| readValue | back to summary |
|---|---|
| private void readValue(boolean ignorePadding) | |
| readValueUntilNewLine | back to summary |
|---|---|
| private void readValueUntilNewLine(boolean ignorePadding) | |
| skipPadding | back to summary |
|---|---|
| private void skipPadding(boolean lastFieldOfRecord) | |
| skipToNewLine | back to summary |
|---|---|
| private void skipToNewLine() | |
| skipWhitespace | back to summary |
|---|---|
| private void skipWhitespace(boolean lastFieldOfRecord, boolean ignorePadding) | |