Uses of Class org.apache.commons.csv.CSVFormat (Apache Commons CSV 1.14.1 API)
Description: use: package: org.apache.commons.csv, class: CSVFormat

# Uses of Class
org.apache.commons.csv.CSVFormat

- ## Uses of CSVFormat in org.apache.commons.csv

  Fields in org.apache.commons.csv declared as CSVFormat
  Modifier and Type
  Field
  Description
  `static final CSVFormat`
  CSVFormat.`DEFAULT`
  Standard Comma Separated Value format, as for `RFC4180` but allowing empty lines.
  `static final CSVFormat`
  CSVFormat.`EXCEL`
  Microsoft Excel file format (using a comma as the value delimiter).
  `static final CSVFormat`
  CSVFormat.`INFORMIX_UNLOAD`
  Default Informix CSV UNLOAD format used by the `UNLOAD TO file_name` operation.
  `static final CSVFormat`
  CSVFormat.`INFORMIX_UNLOAD_CSV`
  Default Informix CSV UNLOAD format used by the `UNLOAD TO file_name` operation (escaping is disabled.)
  `static final CSVFormat`
  CSVFormat.`MONGODB_CSV`
  Default MongoDB CSV format used by the `mongoexport` operation.
  `static final CSVFormat`
  CSVFormat.`MONGODB_TSV`
  Default MongoDB TSV format used by the `mongoexport` operation.
  `static final CSVFormat`
  CSVFormat.`MYSQL`
  Default MySQL format used by the `SELECT INTO OUTFILE` and `LOAD DATA INFILE` operations.
  `static final CSVFormat`
  CSVFormat.`ORACLE`
  Default Oracle format used by the SQL*Loader utility.
  `static final CSVFormat`
  CSVFormat.`POSTGRESQL_CSV`
  Default PostgreSQL CSV format used by the `COPY` operation.
  `static final CSVFormat`
  CSVFormat.`POSTGRESQL_TEXT`
  Default PostgreSQL Text format used by the `COPY` operation.
  `static final CSVFormat`
  CSVFormat.`RFC4180`
  Comma separated format as defined by RFC 4180.
  `static final CSVFormat`
  CSVFormat.`TDF`
  Tab-delimited format (TDF).
  Methods in org.apache.commons.csv that return CSVFormat
  Modifier and Type
  Method
  Description
  `CSVFormat`
  CSVFormat.Builder.`build()`
  Deprecated.
  Use `CSVFormat.Builder.get()`.
  `CSVFormat`
  CSVFormat.Builder.`get()`
  Builds a new CSVFormat instance.
  `CSVFormat`
  CSVFormat.Predefined.`getFormat()`
  Gets the format.
  `static CSVFormat`
  CSVFormat.`newFormat(char delimiter)`
  Creates a new CSV format with the specified delimiter.
  `static CSVFormat`
  CSVFormat.`valueOf(String format)`
  Gets one of the predefined formats from `CSVFormat.Predefined`.
  `CSVFormat`
  CSVFormat.`withAllowDuplicateHeaderNames()`
  Deprecated.
  Use `Builder#setAllowDuplicateHeaderNames(true)`
  `CSVFormat`
  CSVFormat.`withAllowDuplicateHeaderNames(boolean allowDuplicateHeaderNames)`
  Deprecated.
  Use `CSVFormat.Builder.setAllowDuplicateHeaderNames(boolean)`
  `CSVFormat`
  CSVFormat.`withAllowMissingColumnNames()`
  Deprecated.
  Use `Builder#setAllowMissingColumnNames(true)`
  `CSVFormat`
  CSVFormat.`withAllowMissingColumnNames(boolean allowMissingColumnNames)`
  Deprecated.
  Use `CSVFormat.Builder.setAllowMissingColumnNames(boolean)`
  `CSVFormat`
  CSVFormat.`withAutoFlush(boolean autoFlush)`
  Deprecated.
  Use `CSVFormat.Builder.setAutoFlush(boolean)`
  `CSVFormat`
  CSVFormat.`withCommentMarker(char commentMarker)`
  Deprecated.
  Use `CSVFormat.Builder.setCommentMarker(char)`
  `CSVFormat`
  CSVFormat.`withCommentMarker(Character commentMarker)`
  Deprecated.
  Use `CSVFormat.Builder.setCommentMarker(Character)`
  `CSVFormat`
  CSVFormat.`withDelimiter(char delimiter)`
  Deprecated.
  Use `CSVFormat.Builder.setDelimiter(char)`
  `CSVFormat`
  CSVFormat.`withEscape(char escape)`
  Deprecated.
  Use `CSVFormat.Builder.setEscape(char)`
  `CSVFormat`
  CSVFormat.`withEscape(Character escape)`
  Deprecated.
  Use `CSVFormat.Builder.setEscape(Character)`
  `CSVFormat`
  CSVFormat.`withFirstRecordAsHeader()`
  Deprecated.
  Use `Builder#setHeader()`.`setSkipHeaderRecord(true)`.
  `CSVFormat`
  CSVFormat.`withHeader(Class<? extends Enum<?>> headerEnum)`
  Deprecated.
  Use `CSVFormat.Builder.setHeader(Class)`
  `CSVFormat`
  CSVFormat.`withHeader(String... header)`
  Deprecated.
  Use `CSVFormat.Builder.setHeader(String...)`
  `CSVFormat`
  CSVFormat.`withHeader(ResultSet resultSet)`
  Deprecated.
  Use `CSVFormat.Builder.setHeader(ResultSet)`
  `CSVFormat`
  CSVFormat.`withHeader(ResultSetMetaData resultSetMetaData)`
  Deprecated.
  Use `CSVFormat.Builder.setHeader(ResultSetMetaData)`
  `CSVFormat`
  CSVFormat.`withHeaderComments(Object... headerComments)`
  Deprecated.
  Use `CSVFormat.Builder.setHeaderComments(Object...)`
  `CSVFormat`
  CSVFormat.`withIgnoreEmptyLines()`
  Deprecated.
  Use `Builder#setIgnoreEmptyLines(true)`
  `CSVFormat`
  CSVFormat.`withIgnoreEmptyLines(boolean ignoreEmptyLines)`
  Deprecated.
  Use `CSVFormat.Builder.setIgnoreEmptyLines(boolean)`
  `CSVFormat`
  CSVFormat.`withIgnoreHeaderCase()`
  Deprecated.
  Use `Builder#setIgnoreHeaderCase(true)`
  `CSVFormat`
  CSVFormat.`withIgnoreHeaderCase(boolean ignoreHeaderCase)`
  Deprecated.
  Use `CSVFormat.Builder.setIgnoreHeaderCase(boolean)`
  `CSVFormat`
  CSVFormat.`withIgnoreSurroundingSpaces()`
  Deprecated.
  Use `Builder#setIgnoreSurroundingSpaces(true)`
  `CSVFormat`
  CSVFormat.`withIgnoreSurroundingSpaces(boolean ignoreSurroundingSpaces)`
  Deprecated.
  Use `CSVFormat.Builder.setIgnoreSurroundingSpaces(boolean)`
  `CSVFormat`
  CSVFormat.`withNullString(String nullString)`
  Deprecated.
  Use `CSVFormat.Builder.setNullString(String)`
  `CSVFormat`
  CSVFormat.`withQuote(char quoteChar)`
  Deprecated.
  Use `CSVFormat.Builder.setQuote(char)`
  `CSVFormat`
  CSVFormat.`withQuote(Character quoteChar)`
  Deprecated.
  Use `CSVFormat.Builder.setQuote(Character)`
  `CSVFormat`
  CSVFormat.`withQuoteMode(QuoteMode quoteMode)`
  Deprecated.
  Use `CSVFormat.Builder.setQuoteMode(QuoteMode)`
  `CSVFormat`
  CSVFormat.`withRecordSeparator(char recordSeparator)`
  Deprecated.
  Use `CSVFormat.Builder.setRecordSeparator(char)`
  `CSVFormat`
  CSVFormat.`withRecordSeparator(String recordSeparator)`
  Deprecated.
  Use `CSVFormat.Builder.setRecordSeparator(String)`
  `CSVFormat`
  CSVFormat.`withSkipHeaderRecord()`
  Deprecated.
  Use `Builder#setSkipHeaderRecord(true)`
  `CSVFormat`
  CSVFormat.`withSkipHeaderRecord(boolean skipHeaderRecord)`
  Deprecated.
  Use `CSVFormat.Builder.setSkipHeaderRecord(boolean)`
  `CSVFormat`
  CSVFormat.`withSystemRecordSeparator()`
  Deprecated.
  Use `setRecordSeparator(System.lineSeparator())`
  `CSVFormat`
  CSVFormat.`withTrailingDelimiter()`
  Deprecated.
  Use `Builder#setTrailingDelimiter(true)`
  `CSVFormat`
  CSVFormat.`withTrailingDelimiter(boolean trailingDelimiter)`
  Deprecated.
  Use `CSVFormat.Builder.setTrailingDelimiter(boolean)`
  `CSVFormat`
  CSVFormat.`withTrim()`
  Deprecated.
  Use `Builder#setTrim(true)`
  `CSVFormat`
  CSVFormat.`withTrim(boolean trim)`
  Deprecated.
  Use `CSVFormat.Builder.setTrim(boolean)`
  Methods in org.apache.commons.csv with parameters of type CSVFormat
  Modifier and Type
  Method
  Description
  `static CSVFormat.Builder`
  CSVFormat.Builder.`create(CSVFormat csvFormat)`
  Creates a new builder from the given format.
  `static CSVParser`
  CSVParser.`parse(File file, Charset charset, CSVFormat format)`
  Creates a parser for the given `File`.
  `static CSVParser`
  CSVParser.`parse(InputStream inputStream, Charset charset, CSVFormat format)`
  Creates a CSV parser using the given `CSVFormat`.
  `static CSVParser`
  CSVParser.`parse(Reader reader, CSVFormat format)`
  Creates a CSV parser using the given `CSVFormat`
  `static CSVParser`
  CSVParser.`parse(String string, CSVFormat format)`
  Creates a parser for the given `String`.
  `static CSVParser`
  CSVParser.`parse(URL url, Charset charset, CSVFormat format)`
  Creates and returns a parser for the given URL, which the caller MUST close.
  `static CSVParser`
  CSVParser.`parse(Path path, Charset charset, CSVFormat format)`
  Creates and returns a parser for the given `Path`, which the caller MUST close.
  `CSVParser.Builder`
  CSVParser.Builder.`setFormat(CSVFormat format)`
  Sets the CSV format.
  Constructors in org.apache.commons.csv with parameters of type CSVFormat
  Modifier
  Constructor
  Description
  ``
  `CSVParser(Reader reader, CSVFormat format)`
  Deprecated.
  Will be removed in the next major version, use `CSVParser.Builder.get()`.
  ``
  `CSVParser(Reader reader, CSVFormat format, long characterOffset, long recordNumber)`
  Deprecated.
  Will be removed in the next major version, use `CSVParser.Builder.get()`.
  ``
  `CSVPrinter(Appendable appendable, CSVFormat format)`
  Creates a printer that will print values to the given stream following the CSVFormat.