Uses of Class
org.apache.commons.csv.CSVFormat.Builder
Packages that use 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.BuilderCSVFormat.Builder.create()Creates a new default builder.static CSVFormat.BuilderCreates a new builder for the given format.CSVFormat.Builder.setAllowDuplicateHeaderNames(boolean allowDuplicateHeaderNames) Sets the duplicate header names behavior, true to allow, false to disallow.CSVFormat.Builder.setAllowMissingColumnNames(boolean allowMissingColumnNames) Sets the missing column names behavior,trueto allow missing column names in the header line,falseto cause anIllegalArgumentExceptionto be thrown.CSVFormat.Builder.setAutoFlush(boolean autoFlush) Sets whether to flush on close.CSVFormat.Builder.setCommentMarker(char commentMarker) Sets the comment start marker, usenullto disable.CSVFormat.Builder.setCommentMarker(Character commentMarker) Sets the comment start marker, usenullto disable.CSVFormat.Builder.setDelimiter(char delimiter) Sets the delimiter character.CSVFormat.Builder.setDelimiter(String delimiter) Sets the delimiter character.CSVFormat.Builder.setEscape(char escapeCharacter) Sets the escape character.Sets the escape character.Sets the header defined by the givenEnumclass.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,trueto ignore the empty lines between the records,falseto translate empty lines to empty records.CSVFormat.Builder.setIgnoreHeaderCase(boolean ignoreHeaderCase) Sets the case mapping behavior,trueto access name/values,falseto leave the mapping as is.CSVFormat.Builder.setIgnoreSurroundingSpaces(boolean ignoreSurroundingSpaces) Sets the parser trimming behavior,trueto remove the surrounding spaces,falseto 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, usenullto 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.