public static class CSVWriterOptions.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CSVWriterOptions |
build() |
CSVWriterOptions.Builder |
withColumnNames(List<String> columnNames) |
CSVWriterOptions.Builder |
withColumnNames(String... columnNames) |
CSVWriterOptions.Builder |
withFalseValue(String falseValue) |
CSVWriterOptions.Builder |
withFieldDelimiter(byte fieldDelimiter) |
CSVWriterOptions.Builder |
withIncludeHeader(Boolean includeHeader) |
CSVWriterOptions.Builder |
withNullValue(String nullValue) |
CSVWriterOptions.Builder |
withQuoteStyle(QuoteStyle quoteStyle)
Sets the quote style used when writing CSV.
|
CSVWriterOptions.Builder |
withRowDelimiter(String rowDelimiter) |
CSVWriterOptions.Builder |
withTrueValue(String trueValue) |
public CSVWriterOptions build()
public CSVWriterOptions.Builder withColumnNames(List<String> columnNames)
public CSVWriterOptions.Builder withColumnNames(String... columnNames)
public CSVWriterOptions.Builder withIncludeHeader(Boolean includeHeader)
public CSVWriterOptions.Builder withRowDelimiter(String rowDelimiter)
public CSVWriterOptions.Builder withFieldDelimiter(byte fieldDelimiter)
public CSVWriterOptions.Builder withNullValue(String nullValue)
public CSVWriterOptions.Builder withTrueValue(String trueValue)
public CSVWriterOptions.Builder withFalseValue(String falseValue)
public CSVWriterOptions.Builder withQuoteStyle(QuoteStyle quoteStyle)
Copyright © 2024. All rights reserved.