Uses of Class
org.apache.commons.csv.CSVFormat
-
Uses of CSVFormat in org.apache.commons.csv
Classes in org.apache.commons.csv that implement interfaces with type arguments of type CSVFormatFields in org.apache.commons.csv declared as CSVFormatModifier and TypeFieldDescriptionstatic final CSVFormatCSVFormat.DEFAULTStandard Comma Separated Value format, as forCSVFormat.RFC4180but allowing empty lines.static final CSVFormatCSVFormat.EXCELMicrosoft Excel file format (using a comma as the value delimiter).private final CSVFormatCSVFormat.Predefined.formatprivate CSVFormatCSVParser.Builder.formatprivate final CSVFormatCSVParser.formatprivate final CSVFormatCSVPrinter.formatstatic 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.(package private) CSVFormatCSVFormat.copy()Creates a copy of this instance.(package private) static CSVFormatCreates a null-safe copy of the given instance.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 TypeMethodDescription(package private) static CSVFormatCreates a null-safe copy of the given instance.static 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 CSVFormatModifierConstructorDescriptionprivateDeprecated.Will be removed in the next major version, useCSVParser.Builder.get().Deprecated.Will be removed in the next major version, useCSVParser.Builder.get().privateCSVParser(Reader reader, CSVFormat format, long characterOffset, long recordNumber, Charset charset, boolean trackBytes) Constructs a new instance using the givenCSVFormat.CSVPrinter(Appendable appendable, CSVFormat format) Creates a printer that will print values to the given stream following the CSVFormat.(package private)Lexer(CSVFormat format, ExtendedBufferedReader reader) privatePredefined(CSVFormat format)
CSVFormat.Builder.get().