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.BuilderCSVFormat.Builder.create()Creates a new default builder, as forCSVFormat.RFC4180but allowing empty lines.static CSVFormat.BuilderCreates a new builder from the given format.CSVFormat.Builder.setAllowDuplicateHeaderNames(boolean allowDuplicateHeaderNames) Deprecated.CSVFormat.Builder.setAllowMissingColumnNames(boolean allowMissingColumnNames) Sets the parser 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 marker character, usenullto disable comments.CSVFormat.Builder.setCommentMarker(Character commentMarker) Sets the comment marker character, usenullto disable comments.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 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 to write before the CSV data.CSVFormat.Builder.setHeaderComments(String... headerComments) Sets the header comments to write before the CSV data.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 parser 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.setLenientEof(boolean lenientEof) Sets whether reading end-of-file is allowed even when input is malformed, helps Excel compatibility.CSVFormat.Builder.setMaxRows(long maxRows) Sets the maximum number of rows to process, excluding the header row.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.setTrailingData(boolean trailingData) Sets whether reading trailing data is allowed in records, helps Excel compatibility.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).