CSVFormat.Builder |
CSVFormat.builder() |
Creates a new Builder for this instance.
|
static CSVFormat.Builder |
CSVFormat.Builder.create() |
Creates a new default builder.
|
static CSVFormat.Builder |
CSVFormat.Builder.create(CSVFormat csvFormat) |
Creates a new builder for the given format.
|
CSVFormat.Builder |
CSVFormat.Builder.setAllowDuplicateHeaderNames(boolean allowDuplicateHeaderNames) |
Sets the duplicate header names behavior, true to allow, false to disallow.
|
CSVFormat.Builder |
CSVFormat.Builder.setAllowMissingColumnNames(boolean allowMissingColumnNames) |
Sets the missing column names behavior, true to allow missing column names in the header line, false to cause an
IllegalArgumentException to be thrown.
|
CSVFormat.Builder |
CSVFormat.Builder.setAutoFlush(boolean autoFlush) |
Sets whether to flush on close.
|
CSVFormat.Builder |
CSVFormat.Builder.setCommentMarker(char commentMarker) |
Sets the comment start marker, use null to disable.
|
CSVFormat.Builder |
CSVFormat.Builder.setCommentMarker(java.lang.Character commentMarker) |
Sets the comment start marker, use null to disable.
|
CSVFormat.Builder |
CSVFormat.Builder.setDelimiter(char delimiter) |
Sets the delimiter character.
|
CSVFormat.Builder |
CSVFormat.Builder.setDelimiter(java.lang.String delimiter) |
Sets the delimiter character.
|
CSVFormat.Builder |
CSVFormat.Builder.setEscape(char escapeCharacter) |
Sets the escape character.
|
CSVFormat.Builder |
CSVFormat.Builder.setEscape(java.lang.Character escapeCharacter) |
Sets the escape character.
|
CSVFormat.Builder |
CSVFormat.Builder.setHeader(java.lang.Class<? extends java.lang.Enum<?>> headerEnum) |
Sets the header defined by the given Enum class.
|
CSVFormat.Builder |
CSVFormat.Builder.setHeader(java.lang.String... header) |
Sets the header to the given values.
|
CSVFormat.Builder |
CSVFormat.Builder.setHeader(java.sql.ResultSet resultSet) |
Sets the header from the result set metadata.
|
CSVFormat.Builder |
CSVFormat.Builder.setHeader(java.sql.ResultSetMetaData resultSetMetaData) |
Sets the header from the result set metadata.
|
CSVFormat.Builder |
CSVFormat.Builder.setHeaderComments(java.lang.Object... headerComments) |
Sets the header comments set to the given values.
|
CSVFormat.Builder |
CSVFormat.Builder.setHeaderComments(java.lang.String... headerComments) |
Sets the header comments set to the given values.
|
CSVFormat.Builder |
CSVFormat.Builder.setIgnoreEmptyLines(boolean ignoreEmptyLines) |
Sets the empty line skipping behavior, true to ignore the empty lines between the records, false to translate empty lines to empty
records.
|
CSVFormat.Builder |
CSVFormat.Builder.setIgnoreHeaderCase(boolean ignoreHeaderCase) |
Sets the case mapping behavior, true to access name/values, false to leave the mapping as is.
|
CSVFormat.Builder |
CSVFormat.Builder.setIgnoreSurroundingSpaces(boolean ignoreSurroundingSpaces) |
Sets the parser trimming behavior, true to remove the surrounding spaces, false to leave the spaces as is.
|
CSVFormat.Builder |
CSVFormat.Builder.setNullString(java.lang.String nullString) |
Sets the String to convert to and from null .
|
CSVFormat.Builder |
CSVFormat.Builder.setQuote(char quoteCharacter) |
Sets the quote character.
|
CSVFormat.Builder |
CSVFormat.Builder.setQuote(java.lang.Character quoteCharacter) |
Sets the quote character, use null to disable.
|
CSVFormat.Builder |
CSVFormat.Builder.setQuoteMode(QuoteMode quoteMode) |
Sets the quote policy to use for output.
|
CSVFormat.Builder |
CSVFormat.Builder.setRecordSeparator(char recordSeparator) |
Sets the record separator to use for output.
|
CSVFormat.Builder |
CSVFormat.Builder.setRecordSeparator(java.lang.String recordSeparator) |
Sets the record separator to use for output.
|
CSVFormat.Builder |
CSVFormat.Builder.setSkipHeaderRecord(boolean skipHeaderRecord) |
Sets whether to skip the header record.
|
CSVFormat.Builder |
CSVFormat.Builder.setTrailingDelimiter(boolean trailingDelimiter) |
Sets whether to add a trailing delimiter.
|
CSVFormat.Builder |
CSVFormat.Builder.setTrim(boolean trim) |
Sets whether to trim leading and trailing blanks.
|