Top Description Constructors Methods
com.univocity.parsers.csv

public Class Csv

extends Object
Class Inheritance

This class provides default configurations using CSV formats commonly used for parsing/writing.

Constructor Summary

AccessConstructor and Description
public
Csv()

Method Summary

Modifier and TypeMethod and Description
public static CsvParserSettings

Returns:

a pre-configured CsvParserSettings object with suggested settings for parsing CSV files produced by Microsoft Excel.
parseExcel
()

Provides a basic CSV configuration that allows parsing CSV files produced by Microsoft Excel.

public static CsvParserSettings

Returns:

a pre-configured CsvParserSettings object with suggested settings for parsing CSV using the RFC 4180 rules.
parseRfc4180
()

Provides a basic CSV configuration for parsing CSV files in accordance with the rules established by RFC 4180

public static CsvWriterSettings

Returns:

a pre-configured CsvWriterSettings object with suggested settings for generating CSV files that can be read by Microsoft Excel.
writeExcel
()

Provides a basic CSV configuration that allows writing CSV files that can be read by Microsoft Excel.

public static CsvWriterSettings

Returns:

a pre-configured CsvWriterSettings object with the settings required to generate CSV files in accordance with the rules established by RFC 4180
writeRfc4180
()

Provides a basic CSV configuration for writing CSV files in accordance with the rules established by RFC 4180

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Csvback to summary
public Csv()

Method Detail

parseExcelback to summary
public static CsvParserSettings parseExcel()

Provides a basic CSV configuration that allows parsing CSV files produced by Microsoft Excel.

Returns:CsvParserSettings

a pre-configured CsvParserSettings object with suggested settings for parsing CSV files produced by Microsoft Excel.

parseRfc4180back to summary
public static CsvParserSettings parseRfc4180()

Provides a basic CSV configuration for parsing CSV files in accordance with the rules established by RFC 4180

Returns:CsvParserSettings

a pre-configured CsvParserSettings object with suggested settings for parsing CSV using the RFC 4180 rules.

writeExcelback to summary
public static CsvWriterSettings writeExcel()

Provides a basic CSV configuration that allows writing CSV files that can be read by Microsoft Excel.

Returns:CsvWriterSettings

a pre-configured CsvWriterSettings object with suggested settings for generating CSV files that can be read by Microsoft Excel.

writeRfc4180back to summary
public static CsvWriterSettings writeRfc4180()

Provides a basic CSV configuration for writing CSV files in accordance with the rules established by RFC 4180

Returns:CsvWriterSettings

a pre-configured CsvWriterSettings object with the settings required to generate CSV files in accordance with the rules established by RFC 4180