Interface CsvFormatDescriptor.Builder

    • Method Detail

      • fileCompression

        CsvFormatDescriptor.Builder fileCompression​(String fileCompression)

        The level of compression of the source CSV file.

        Parameters:
        fileCompression - The level of compression of the source CSV file.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CSVFileCompression, CSVFileCompression
      • charset

        CsvFormatDescriptor.Builder charset​(String charset)

        The character set in which the source CSV file is written.

        Parameters:
        charset - The character set in which the source CSV file is written.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • containsHeader

        CsvFormatDescriptor.Builder containsHeader​(Boolean containsHeader)

        Whether or not the source CSV file contains a header.

        Parameters:
        containsHeader - Whether or not the source CSV file contains a header.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • delimiter

        CsvFormatDescriptor.Builder delimiter​(String delimiter)

        The character used to delimit the source CSV file.

        Parameters:
        delimiter - The character used to delimit the source CSV file.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • headerList

        CsvFormatDescriptor.Builder headerList​(Collection<String> headerList)

        A list of the source CSV file's headers, if any.

        Parameters:
        headerList - A list of the source CSV file's headers, if any.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • headerList

        CsvFormatDescriptor.Builder headerList​(String... headerList)

        A list of the source CSV file's headers, if any.

        Parameters:
        headerList - A list of the source CSV file's headers, if any.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • quoteSymbol

        CsvFormatDescriptor.Builder quoteSymbol​(String quoteSymbol)

        The character used as a quote character.

        Parameters:
        quoteSymbol - The character used as a quote character.
        Returns:
        Returns a reference to this object so that method calls can be chained together.