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 CSVFormat
CSVFormat. DEFAULT
Standard Comma Separated Value format, as forRFC4180
but allowing empty lines.static CSVFormat
CSVFormat. EXCEL
Excel file format (using a comma as the value delimiter).private CSVFormat
CSVFormat.Predefined. format
private CSVFormat
CSVParser. format
private CSVFormat
CSVPrinter. format
static CSVFormat
CSVFormat. INFORMIX_UNLOAD
Default Informix CSV UNLOAD format used by theUNLOAD TO file_name
operation.static CSVFormat
CSVFormat. INFORMIX_UNLOAD_CSV
Default Informix CSV UNLOAD format used by theUNLOAD TO file_name
operation (escaping is disabled.)static CSVFormat
CSVFormat. MONGODB_CSV
Default MongoDB CSV format used by themongoexport
operation.static CSVFormat
CSVFormat. MONGODB_TSV
Default MongoDB TSV format used by themongoexport
operation.static CSVFormat
CSVFormat. MYSQL
Default MySQL format used by theSELECT INTO OUTFILE
andLOAD DATA INFILE
operations.static CSVFormat
CSVFormat. ORACLE
Default Oracle format used by the SQL*Loader utility.static CSVFormat
CSVFormat. POSTGRESQL_CSV
Default PostgreSQL CSV format used by theCOPY
operation.static CSVFormat
CSVFormat. POSTGRESQL_TEXT
Default PostgreSQL text format used by theCOPY
operation.static CSVFormat
CSVFormat. RFC4180
Comma separated format as defined by RFC 4180.static CSVFormat
CSVFormat. TDF
Tab-delimited format.Methods in org.apache.commons.csv that return CSVFormat Modifier and Type Method Description CSVFormat
CSVFormat.Builder. build()
Builds a new CSVFormat instance.(package private) CSVFormat
CSVFormat. copy()
Creates a copy of this 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(java.lang.String format)
Gets one of the predefined formats fromCSVFormat.Predefined
.CSVFormat
CSVFormat. withAllowDuplicateHeaderNames()
Deprecated.CSVFormat
CSVFormat. withAllowDuplicateHeaderNames(boolean allowDuplicateHeaderNames)
Deprecated.CSVFormat
CSVFormat. withAllowMissingColumnNames()
Deprecated.CSVFormat
CSVFormat. withAllowMissingColumnNames(boolean allowMissingColumnNames)
Deprecated.CSVFormat
CSVFormat. withAutoFlush(boolean autoFlush)
Deprecated.CSVFormat
CSVFormat. withCommentMarker(char commentMarker)
Deprecated.CSVFormat
CSVFormat. withCommentMarker(java.lang.Character commentMarker)
Deprecated.CSVFormat
CSVFormat. withDelimiter(char delimiter)
Deprecated.CSVFormat
CSVFormat. withEscape(char escape)
Deprecated.CSVFormat
CSVFormat. withEscape(java.lang.Character escape)
Deprecated.CSVFormat
CSVFormat. withFirstRecordAsHeader()
Deprecated.CSVFormat
CSVFormat. withHeader(java.lang.Class<? extends java.lang.Enum<?>> headerEnum)
Deprecated.CSVFormat
CSVFormat. withHeader(java.lang.String... header)
Deprecated.CSVFormat
CSVFormat. withHeader(java.sql.ResultSet resultSet)
Deprecated.CSVFormat
CSVFormat. withHeader(java.sql.ResultSetMetaData resultSetMetaData)
Deprecated.CSVFormat
CSVFormat. withHeaderComments(java.lang.Object... headerComments)
Deprecated.CSVFormat
CSVFormat. withIgnoreEmptyLines()
Deprecated.CSVFormat
CSVFormat. withIgnoreEmptyLines(boolean ignoreEmptyLines)
Deprecated.CSVFormat
CSVFormat. withIgnoreHeaderCase()
Deprecated.CSVFormat
CSVFormat. withIgnoreHeaderCase(boolean ignoreHeaderCase)
Deprecated.CSVFormat
CSVFormat. withIgnoreSurroundingSpaces()
Deprecated.CSVFormat
CSVFormat. withIgnoreSurroundingSpaces(boolean ignoreSurroundingSpaces)
Deprecated.CSVFormat
CSVFormat. withNullString(java.lang.String nullString)
Deprecated.CSVFormat
CSVFormat. withQuote(char quoteChar)
Deprecated.CSVFormat
CSVFormat. withQuote(java.lang.Character quoteChar)
Deprecated.CSVFormat
CSVFormat. withQuoteMode(QuoteMode quoteMode)
Deprecated.CSVFormat
CSVFormat. withRecordSeparator(char recordSeparator)
Deprecated.CSVFormat
CSVFormat. withRecordSeparator(java.lang.String recordSeparator)
Deprecated.CSVFormat
CSVFormat. withSkipHeaderRecord()
Deprecated.CSVFormat
CSVFormat. withSkipHeaderRecord(boolean skipHeaderRecord)
Deprecated.CSVFormat
CSVFormat. withSystemRecordSeparator()
Deprecated.CSVFormat
CSVFormat. withTrailingDelimiter()
Deprecated.CSVFormat
CSVFormat. withTrailingDelimiter(boolean trailingDelimiter)
Deprecated.CSVFormat
CSVFormat. withTrim()
Deprecated.CSVFormat
CSVFormat. withTrim(boolean trim)
Deprecated.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 for the given format.static CSVParser
CSVParser. parse(java.io.File file, java.nio.charset.Charset charset, CSVFormat format)
Creates a parser for the givenFile
.static CSVParser
CSVParser. parse(java.io.InputStream inputStream, java.nio.charset.Charset charset, CSVFormat format)
Creates a CSV parser using the givenCSVFormat
.static CSVParser
CSVParser. parse(java.io.Reader reader, CSVFormat format)
Creates a CSV parser using the givenCSVFormat
static CSVParser
CSVParser. parse(java.lang.String string, CSVFormat format)
Creates a parser for the givenString
.static CSVParser
CSVParser. parse(java.net.URL url, java.nio.charset.Charset charset, CSVFormat format)
Creates and returns a parser for the given URL, which the caller MUST close.static CSVParser
CSVParser. parse(java.nio.file.Path path, java.nio.charset.Charset charset, CSVFormat format)
Creates and returns a parser for the givenPath
, which the caller MUST close.Constructors in org.apache.commons.csv with parameters of type CSVFormat Constructor Description Builder(CSVFormat csvFormat)
CSVParser(java.io.Reader reader, CSVFormat format)
Constructs a new instance using the givenCSVFormat
CSVParser(java.io.Reader reader, CSVFormat format, long characterOffset, long recordNumber)
Constructs a new instance using the givenCSVFormat
CSVPrinter(java.lang.Appendable appendable, CSVFormat format)
Creates a printer that will print values to the given stream following the CSVFormat.Lexer(CSVFormat format, ExtendedBufferedReader reader)
Predefined(CSVFormat format)
-