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 CSVFormatCSVFormat. DEFAULTStandard Comma Separated Value format, as forRFC4180but allowing empty lines.static CSVFormatCSVFormat. EXCELMicrosoft Excel file format (using a comma as the value delimiter).private CSVFormatCSVFormat.Predefined. formatprivate CSVFormatCSVParser.Builder. formatprivate CSVFormatCSVParser. formatprivate CSVFormatCSVPrinter. formatstatic CSVFormatCSVFormat. INFORMIX_UNLOADDefault Informix CSV UNLOAD format used by theUNLOAD TO file_nameoperation.static CSVFormatCSVFormat. INFORMIX_UNLOAD_CSVDefault Informix CSV UNLOAD format used by theUNLOAD TO file_nameoperation (escaping is disabled.)static CSVFormatCSVFormat. MONGODB_CSVDefault MongoDB CSV format used by themongoexportoperation.static CSVFormatCSVFormat. MONGODB_TSVDefault MongoDB TSV format used by themongoexportoperation.static CSVFormatCSVFormat. MYSQLstatic CSVFormatCSVFormat. ORACLEDefault Oracle format used by the SQL*Loader utility.static CSVFormatCSVFormat. POSTGRESQL_CSVDefault PostgreSQL CSV format used by theCOPYoperation.static CSVFormatCSVFormat. POSTGRESQL_TEXTDefault PostgreSQL Text format used by theCOPYoperation.static CSVFormatCSVFormat. RFC4180Comma separated format as defined by RFC 4180.static CSVFormatCSVFormat. TDFTab-delimited format (TDF).Methods in org.apache.commons.csv that return CSVFormat Modifier and Type Method Description CSVFormatCSVFormat.Builder. build()Deprecated.(package private) CSVFormatCSVFormat. copy()Creates a copy of this instance.(package private) static CSVFormatCSVFormat. copy(CSVFormat format)Creates a null-safe copy of the given instance.CSVFormatCSVFormat.Builder. get()Builds a new CSVFormat instance.CSVFormatCSVFormat.Predefined. getFormat()Gets the format.static CSVFormatCSVFormat. newFormat(char delimiter)Creates a new CSV format with the specified delimiter.static CSVFormatCSVFormat. valueOf(java.lang.String format)Gets one of the predefined formats fromCSVFormat.Predefined.CSVFormatCSVFormat. withAllowDuplicateHeaderNames()Deprecated.CSVFormatCSVFormat. withAllowDuplicateHeaderNames(boolean allowDuplicateHeaderNames)Deprecated.CSVFormatCSVFormat. withAllowMissingColumnNames()Deprecated.CSVFormatCSVFormat. withAllowMissingColumnNames(boolean allowMissingColumnNames)Deprecated.CSVFormatCSVFormat. withAutoFlush(boolean autoFlush)Deprecated.CSVFormatCSVFormat. withCommentMarker(char commentMarker)Deprecated.CSVFormatCSVFormat. withCommentMarker(java.lang.Character commentMarker)Deprecated.CSVFormatCSVFormat. withDelimiter(char delimiter)Deprecated.CSVFormatCSVFormat. withEscape(char escape)Deprecated.CSVFormatCSVFormat. withEscape(java.lang.Character escape)Deprecated.CSVFormatCSVFormat. withFirstRecordAsHeader()Deprecated.CSVFormatCSVFormat. withHeader(java.lang.Class<? extends java.lang.Enum<?>> headerEnum)Deprecated.CSVFormatCSVFormat. withHeader(java.lang.String... header)Deprecated.CSVFormatCSVFormat. withHeader(java.sql.ResultSet resultSet)Deprecated.CSVFormatCSVFormat. withHeader(java.sql.ResultSetMetaData resultSetMetaData)Deprecated.CSVFormatCSVFormat. withHeaderComments(java.lang.Object... headerComments)Deprecated.CSVFormatCSVFormat. withIgnoreEmptyLines()Deprecated.CSVFormatCSVFormat. withIgnoreEmptyLines(boolean ignoreEmptyLines)Deprecated.CSVFormatCSVFormat. withIgnoreHeaderCase()Deprecated.CSVFormatCSVFormat. withIgnoreHeaderCase(boolean ignoreHeaderCase)Deprecated.CSVFormatCSVFormat. withIgnoreSurroundingSpaces()Deprecated.CSVFormatCSVFormat. withIgnoreSurroundingSpaces(boolean ignoreSurroundingSpaces)Deprecated.CSVFormatCSVFormat. withNullString(java.lang.String nullString)Deprecated.CSVFormatCSVFormat. withQuote(char quoteChar)Deprecated.CSVFormatCSVFormat. withQuote(java.lang.Character quoteChar)Deprecated.CSVFormatCSVFormat. withQuoteMode(QuoteMode quoteMode)Deprecated.CSVFormatCSVFormat. withRecordSeparator(char recordSeparator)Deprecated.CSVFormatCSVFormat. withRecordSeparator(java.lang.String recordSeparator)Deprecated.CSVFormatCSVFormat. withSkipHeaderRecord()Deprecated.CSVFormatCSVFormat. withSkipHeaderRecord(boolean skipHeaderRecord)Deprecated.CSVFormatCSVFormat. withSystemRecordSeparator()Deprecated.CSVFormatCSVFormat. withTrailingDelimiter()Deprecated.CSVFormatCSVFormat. withTrailingDelimiter(boolean trailingDelimiter)Deprecated.CSVFormatCSVFormat. withTrim()Deprecated.CSVFormatCSVFormat. withTrim(boolean trim)Deprecated.Methods in org.apache.commons.csv with parameters of type CSVFormat Modifier and Type Method Description (package private) static CSVFormatCSVFormat. copy(CSVFormat format)Creates a null-safe copy of the given instance.static CSVFormat.BuilderCSVFormat.Builder. create(CSVFormat csvFormat)Creates a new builder from the given format.static CSVParserCSVParser. parse(java.io.File file, java.nio.charset.Charset charset, CSVFormat format)Creates a parser for the givenFile.static CSVParserCSVParser. parse(java.io.InputStream inputStream, java.nio.charset.Charset charset, CSVFormat format)Creates a CSV parser using the givenCSVFormat.static CSVParserCSVParser. parse(java.io.Reader reader, CSVFormat format)Creates a CSV parser using the givenCSVFormatstatic CSVParserCSVParser. parse(java.lang.String string, CSVFormat format)Creates a parser for the givenString.static CSVParserCSVParser. 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 CSVParserCSVParser. 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.CSVParser.BuilderCSVParser.Builder. setFormat(CSVFormat format)Sets the CSV format.Constructors in org.apache.commons.csv with parameters of type CSVFormat Constructor Description Builder(CSVFormat csvFormat)CSVParser(java.io.Reader reader, CSVFormat format)Deprecated.Will be removed in the next major version, useCSVParser.Builder.get().CSVParser(java.io.Reader reader, CSVFormat format, long characterOffset, long recordNumber)Deprecated.Will be removed in the next major version, useCSVParser.Builder.get().CSVParser(java.io.Reader reader, CSVFormat format, long characterOffset, long recordNumber, java.nio.charset.Charset charset, boolean trackBytes)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)
-