Top Classes Enums
[default module]

Package com.univocity.parsers.fixed


Class Summary

Modifier and TypeClass and Description
public class
FixedWidthFieldLengths

Deprecated This class has been modified over time and its name became misleading. Use FixedWidthFields instead.
This class provides the name, length, alignment and padding of each field in a fixed-width record.
public class
FixedWidthFields

This class provides the name, length, alignment and padding of each field in a fixed-width record.

public class
FixedWidthFormat

The Fixed-Width format configuration.

public class
FixedWidthParser

A fast and flexible fixed-with parser implementation.

public class
FixedWidthParserSettings

This is the configuration class used by the Fixed-Width parser (FixedWidthParser)

In addition to the configuration options provided by CommonParserSettings, the FixedWidthParserSettings include:

  • skipTrailingCharsUntilNewline (defaults to false): Indicates whether or not any trailing characters beyond the record's length should be skipped until the newline is reached

    For example, if the record length is 5, but the row contains "12345678\n", then portion containing "678" will be discarded and not considered part of the next record

  • recordEndsOnNewline (defaults to false): Indicates whether or not a record is considered parsed when a newline is reached.

    For example, if recordEndsOnNewline is set to true, then given a record of length 4, and the input "12\n3456", the parser will identify [12] and [3456]

    If recordEndsOnNewline is set to false, then given a record of length 4, and the input "12\n3456", the parser will identify a multi-line record [12\n3] and [456 ]

public class
FixedWidthRoutines

A collection of common routines involving the processing of Fixed-Width data.

public class
FixedWidthWriter

A fast and flexible fixed-with writer implementation.

public class
FixedWidthWriterSettings

This is the configuration class used by the Fixed-Width writer (FixedWidthWriter)

The FixedWidthWriterSettings provides all configuration options in CommonWriterSettings and currently does not require any additional setting.

pack-priv class

Enum Summary

Modifier and TypeEnum and Description
public enum
FieldAlignment

Alignment of text in a fixed-width field.