public static class CSVOptions.Builder extends ColumnFilterOptions.Builder<CSVOptions.Builder>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CSVOptions |
build() |
CSVOptions.Builder |
hasHeader()
Set the row of the header to 0, the first line.
|
CSVOptions.Builder |
hasHeader(boolean hasHeader)
Set the row of the header to 0, the first line, if hasHeader is true else disables the
header.
|
CSVOptions.Builder |
withComment(char comment)
Set the character that starts the beginning of a comment line.
|
CSVOptions.Builder |
withDelim(char delim)
Set the entry deliminator.
|
CSVOptions.Builder |
withFalseValue(String... fvs) |
CSVOptions.Builder |
withHeaderAtRow(int index)
Row of the header data (0 based counting).
|
CSVOptions.Builder |
withNullValue(String... nvs) |
CSVOptions.Builder |
withoutComments() |
CSVOptions.Builder |
withQuote(char quote)
Set the quote character.
|
CSVOptions.Builder |
withQuoteStyle(QuoteStyle quoteStyle)
Quote style to expect in the input CSV data.
|
CSVOptions.Builder |
withTrueValue(String... tvs) |
includeColumn, includeColumn
public CSVOptions.Builder withHeaderAtRow(int index)
public CSVOptions.Builder hasHeader(boolean hasHeader)
public CSVOptions.Builder hasHeader()
public CSVOptions.Builder withDelim(char delim)
public CSVOptions.Builder withQuote(char quote)
public CSVOptions.Builder withQuoteStyle(QuoteStyle quoteStyle)
public CSVOptions.Builder withComment(char comment)
public CSVOptions.Builder withoutComments()
public CSVOptions.Builder withNullValue(String... nvs)
public CSVOptions.Builder withTrueValue(String... tvs)
public CSVOptions.Builder withFalseValue(String... fvs)
public CSVOptions build()
Copyright © 2024. All rights reserved.