Class FixedWidthFormat

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class FixedWidthFormat
    extends Format
    The Fixed-Width format configuration. In addition to the default configuration in Format, the fixed-width format defines:
    • padding (defaults to ' '): the character used for filling unwritten spaces in a fixed-width record.

      e.g. if a field has a length of 5 characters, but the value is 'ZZ', the field should contain [ZZ ] (i.e. ZZ followed by 3 unwritten spaces).
      If the padding is set to '_', then the field will be written as [ZZ___]

    See Also:
    Format
    • Field Detail

      • padding

        private char padding
      • lookupWildcard

        private char lookupWildcard
    • Constructor Detail

      • FixedWidthFormat

        public FixedWidthFormat()