Uses of Class
org.apache.commons.csv.CSVFormat
-
Uses of CSVFormat in org.apache.commons.csv
Fields in org.apache.commons.csv declared as CSVFormatModifier and TypeFieldDescriptionstatic final CSVFormatCSVFormat.DEFAULTStandard Comma Separated Value format, as forRFC4180but allowing empty lines.static final CSVFormatCSVFormat.EXCELMicrosoft Excel file format (using a comma as the value delimiter).static final CSVFormatCSVFormat.INFORMIX_UNLOADDefault Informix CSV UNLOAD format used by theUNLOAD TO file_nameoperation.static final CSVFormatCSVFormat.INFORMIX_UNLOAD_CSVDefault Informix CSV UNLOAD format used by theUNLOAD TO file_nameoperation (escaping is disabled.)static final CSVFormatCSVFormat.MONGODB_CSVDefault MongoDB CSV format used by themongoexportoperation.static final CSVFormatCSVFormat.MONGODB_TSVDefault MongoDB TSV format used by themongoexportoperation.static final CSVFormatCSVFormat.MYSQLstatic final CSVFormatCSVFormat.ORACLEDefault Oracle format used by the SQL*Loader utility.static final CSVFormatCSVFormat.POSTGRESQL_CSVDefault PostgreSQL CSV format used by theCOPYoperation.static final CSVFormatCSVFormat.POSTGRESQL_TEXTDefault PostgreSQL Text format used by theCOPYoperation.static final CSVFormatCSVFormat.RFC4180Comma separated format as defined by RFC 4180.static final CSVFormatCSVFormat.TDFTab-delimited format (TDF).Methods in org.apache.commons.csv that return CSVFormatModifier and TypeMethodDescriptionCSVFormat.Builder.build()Deprecated.CSVFormat.Builder.get()Builds a new CSVFormat instance.CSVFormat.Predefined.getFormat()Gets the format.static CSVFormatCSVFormat.newFormat(char delimiter) Creates a new CSV format with the specified delimiter.static CSVFormatGets one of the predefined formats fromCSVFormat.Predefined.CSVFormat.withAllowDuplicateHeaderNames()Deprecated.CSVFormat.withAllowDuplicateHeaderNames(boolean allowDuplicateHeaderNames) Deprecated.CSVFormat.withAllowMissingColumnNames()Deprecated.CSVFormat.withAllowMissingColumnNames(boolean allowMissingColumnNames) Deprecated.CSVFormat.withAutoFlush(boolean autoFlush) Deprecated.CSVFormat.withCommentMarker(char commentMarker) Deprecated.CSVFormat.withCommentMarker(Character commentMarker) Deprecated.CSVFormat.withDelimiter(char delimiter) Deprecated.CSVFormat.withEscape(char escape) Deprecated.CSVFormat.withEscape(Character escape) Deprecated.CSVFormat.withFirstRecordAsHeader()Deprecated.CSVFormat.withHeader(Class<? extends Enum<?>> headerEnum) Deprecated.CSVFormat.withHeader(String... header) Deprecated.CSVFormat.withHeader(ResultSet resultSet) Deprecated.CSVFormat.withHeader(ResultSetMetaData resultSetMetaData) Deprecated.CSVFormat.withHeaderComments(Object... headerComments) Deprecated.CSVFormat.withIgnoreEmptyLines()Deprecated.CSVFormat.withIgnoreEmptyLines(boolean ignoreEmptyLines) Deprecated.CSVFormat.withIgnoreHeaderCase()Deprecated.CSVFormat.withIgnoreHeaderCase(boolean ignoreHeaderCase) Deprecated.CSVFormat.withIgnoreSurroundingSpaces()Deprecated.CSVFormat.withIgnoreSurroundingSpaces(boolean ignoreSurroundingSpaces) Deprecated.CSVFormat.withNullString(String nullString) Deprecated.CSVFormat.withQuote(char quoteChar) Deprecated.Deprecated.CSVFormat.withQuoteMode(QuoteMode quoteMode) Deprecated.CSVFormat.withRecordSeparator(char recordSeparator) Deprecated.CSVFormat.withRecordSeparator(String recordSeparator) Deprecated.CSVFormat.withSkipHeaderRecord()Deprecated.CSVFormat.withSkipHeaderRecord(boolean skipHeaderRecord) Deprecated.CSVFormat.withSystemRecordSeparator()Deprecated.CSVFormat.withTrailingDelimiter()Deprecated.CSVFormat.withTrailingDelimiter(boolean trailingDelimiter) Deprecated.CSVFormat.withTrim()Deprecated.CSVFormat.withTrim(boolean trim) Deprecated.Methods in org.apache.commons.csv with parameters of type CSVFormatModifier and TypeMethodDescriptionstatic CSVFormat.BuilderCreates a new builder from the given format.static CSVParserCreates a parser for the givenFile.static CSVParserCSVParser.parse(InputStream inputStream, Charset charset, CSVFormat format) Creates a CSV parser using the givenCSVFormat.static CSVParserCreates a CSV parser using the givenCSVFormatstatic CSVParserCreates a parser for the givenString.static CSVParserCreates and returns a parser for the given URL, which the caller MUST close.static CSVParserCreates and returns a parser for the givenPath, which the caller MUST close.Sets the CSV format.Constructors in org.apache.commons.csv with parameters of type CSVFormatModifierConstructorDescriptionDeprecated.Will be removed in the next major version, useCSVParser.Builder.get().Deprecated.Will be removed in the next major version, useCSVParser.Builder.get().CSVPrinter(Appendable appendable, CSVFormat format) Creates a printer that will print values to the given stream following the CSVFormat.
CSVFormat.Builder.get().