Class ReadOptionsCsv.Builder

java.lang.Object
app.babylon.table.io.ReadOptionsCsv.Builder
Enclosing class:
ReadOptionsCsv

public static final class ReadOptionsCsv.Builder extends Object
  • Method Details

    • withSeparator

      public ReadOptionsCsv.Builder withSeparator(char separator)
    • withQuote

      public ReadOptionsCsv.Builder withQuote(char quote)
    • withFixedWidths

      public ReadOptionsCsv.Builder withFixedWidths(int[] fixedWidths)
    • withCharset

      public ReadOptionsCsv.Builder withCharset(Charset charset)
    • withAutoDetectOptions

      public ReadOptionsCsv.Builder withAutoDetectOptions(boolean autoDetectOptions)
    • withAutoDetectEncoding

      @Deprecated public ReadOptionsCsv.Builder withAutoDetectEncoding(boolean autoDetectEncoding)
      Deprecated.
      Configures automatic CSV option detection.

      Kept as a compatibility alias for callers using the earlier name, when the detection only covered encoding.

      Parameters:
      autoDetectEncoding - whether automatic CSV option detection is enabled
      Returns:
      this builder
    • build

      public ReadOptionsCsv build()