Uses of Class
org.apache.commons.csv.CSVFormat.Builder
-
Uses of CSVFormat.Builder in org.apache.commons.csv
Methods in org.apache.commons.csv that return CSVFormat.BuilderModifier and TypeMethodDescriptionCSVFormat.builder()
Creates a new Builder for this instance.static CSVFormat.Builder
CSVFormat.Builder.create()
Creates a new default builder.static CSVFormat.Builder
Creates a new builder for the given format.CSVFormat.Builder.setAllowDuplicateHeaderNames
(boolean allowDuplicateHeaderNames) Deprecated.CSVFormat.Builder.setAllowMissingColumnNames
(boolean allowMissingColumnNames) Sets the parser missing column names behavior,true
to allow missing column names in the header line,false
to cause anIllegalArgumentException
to be thrown.CSVFormat.Builder.setAutoFlush
(boolean autoFlush) Sets whether to flush on close.CSVFormat.Builder.setCommentMarker
(char commentMarker) Sets the comment start marker, usenull
to disable.CSVFormat.Builder.setCommentMarker
(Character commentMarker) Sets the comment start marker, usenull
to disable.CSVFormat.Builder.setDelimiter
(char delimiter) Sets the delimiter character.CSVFormat.Builder.setDelimiter
(String delimiter) Sets the delimiter character.CSVFormat.Builder.setDuplicateHeaderMode
(DuplicateHeaderMode duplicateHeaderMode) Sets the duplicate header names behavior.CSVFormat.Builder.setEscape
(char escapeCharacter) Sets the escape character.Sets the escape character.Sets the header defined by the givenEnum
class.Sets the header to the given values.Sets the header from the result set metadata.CSVFormat.Builder.setHeader
(ResultSetMetaData resultSetMetaData) Sets the header from the result set metadata.CSVFormat.Builder.setHeaderComments
(Object... headerComments) Sets the header comments set to the given values.CSVFormat.Builder.setHeaderComments
(String... headerComments) Sets the header comments set to the given values.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.setIgnoreHeaderCase
(boolean ignoreHeaderCase) Sets the parser case mapping behavior,true
to access name/values,false
to leave the mapping as is.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.setNullString
(String nullString) Sets the String to convert to and fromnull
.CSVFormat.Builder.setQuote
(char quoteCharacter) Sets the quote character.Sets the quote character, usenull
to disable.CSVFormat.Builder.setQuoteMode
(QuoteMode quoteMode) Sets the quote policy to use for output.CSVFormat.Builder.setRecordSeparator
(char recordSeparator) Sets the record separator to use for output.CSVFormat.Builder.setRecordSeparator
(String recordSeparator) Sets the record separator to use for output.CSVFormat.Builder.setSkipHeaderRecord
(boolean skipHeaderRecord) Sets whether to skip the header record.CSVFormat.Builder.setTrailingDelimiter
(boolean trailingDelimiter) Sets whether to add a trailing delimiter.CSVFormat.Builder.setTrim
(boolean trim) Sets whether to trim leading and trailing blanks.Constructors in org.apache.commons.csv with parameters of type CSVFormat.Builder
setDuplicateHeaderMode(DuplicateHeaderMode)
.