Interface CsvConfiguration.Builder

  • Method Details

    • columnSeparator

      CsvConfiguration.Builder columnSeparator(String columnSeparator)

      Column separator can be one of comma (','), pipe ('|), semicolon (';'), tab('/t'), or blank space (' ').

      Parameters:
      columnSeparator - Column separator can be one of comma (','), pipe ('|), semicolon (';'), tab('/t'), or blank space (' ').
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • escapeChar

      CsvConfiguration.Builder escapeChar(String escapeChar)

      Escape character can be one of

      Parameters:
      escapeChar - Escape character can be one of
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • quoteChar

      CsvConfiguration.Builder quoteChar(String quoteChar)

      Can be single quote (') or double quote (").

      Parameters:
      quoteChar - Can be single quote (') or double quote (").
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nullValue

      CsvConfiguration.Builder nullValue(String nullValue)

      Can be blank space (' ').

      Parameters:
      nullValue - Can be blank space (' ').
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • trimWhiteSpace

      CsvConfiguration.Builder trimWhiteSpace(Boolean trimWhiteSpace)

      Specifies to trim leading and trailing white space.

      Parameters:
      trimWhiteSpace - Specifies to trim leading and trailing white space.
      Returns:
      Returns a reference to this object so that method calls can be chained together.