public static class CsvFormatAttribute.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CsvFormatAttribute |
build() |
CsvFormatAttribute.Builder |
copy(CsvFormatAttribute model) |
CsvFormatAttribute.Builder |
delimiter(String delimiter)
The delimiter for the CSV format.
|
CsvFormatAttribute.Builder |
encoding(String encoding)
The encoding for the file.
|
CsvFormatAttribute.Builder |
escapeCharacter(String escapeCharacter)
The escape character for the CSV format.
|
CsvFormatAttribute.Builder |
hasHeader(Boolean hasHeader)
Defines whether the file has a header row.
|
CsvFormatAttribute.Builder |
isFilePattern(Boolean isFilePattern) |
CsvFormatAttribute.Builder |
quoteCharacter(String quoteCharacter)
The quote character for the CSV format.
|
CsvFormatAttribute.Builder |
timestampFormat(String timestampFormat)
Format for timestamp information.
|
public CsvFormatAttribute.Builder isFilePattern(Boolean isFilePattern)
public CsvFormatAttribute.Builder encoding(String encoding)
The encoding for the file.
encoding
- the value to setpublic CsvFormatAttribute.Builder escapeCharacter(String escapeCharacter)
The escape character for the CSV format.
escapeCharacter
- the value to setpublic CsvFormatAttribute.Builder delimiter(String delimiter)
The delimiter for the CSV format.
delimiter
- the value to setpublic CsvFormatAttribute.Builder quoteCharacter(String quoteCharacter)
The quote character for the CSV format.
quoteCharacter
- the value to setpublic CsvFormatAttribute.Builder hasHeader(Boolean hasHeader)
Defines whether the file has a header row.
hasHeader
- the value to setpublic CsvFormatAttribute.Builder timestampFormat(String timestampFormat)
Format for timestamp information.
timestampFormat
- the value to setpublic CsvFormatAttribute build()
public CsvFormatAttribute.Builder copy(CsvFormatAttribute model)
Copyright © 2016–2024. All rights reserved.