Class FixedWidthReadOptions


  • public class FixedWidthReadOptions
    extends ReadOptions
    • Method Detail

      • builder

        public static FixedWidthReadOptions.Builder builder​(InputStream stream)
        This method may cause tablesaw to buffer the entire InputStream.

        If you have a large amount of data, you can do one of the following: 1. Use the method taking a File instead of a stream, or 2. Provide the array of column types as an option. If you provide the columnType array, we skip type detection and can avoid reading the entire file

      • builder

        public static FixedWidthReadOptions.Builder builder​(Reader reader)
        This method may cause tablesaw to buffer the entire InputStream.

        If you have a large amount of data, you can do one of the following: 1. Use the method taking a File instead of a reader, or 2. Provide the array of column types as an option. If you provide the columnType array, we skip type detection and can avoid reading the entire file

      • columnSpecs

        public com.univocity.parsers.fixed.FixedWidthFields columnSpecs()
      • lineEnding

        public String lineEnding()
      • padding

        public char padding()
      • lookupWildcard

        public char lookupWildcard()
      • skipTrailingCharsUntilNewline

        public boolean skipTrailingCharsUntilNewline()
      • recordEndsOnNewline

        public boolean recordEndsOnNewline()
      • skipInvalidRows

        public boolean skipInvalidRows()
      • maxNumberOfColumns

        public Integer maxNumberOfColumns()