Top Classes Enums
[default module]

Package com.univocity.parsers.csv


Class Summary

Modifier and TypeClass and Description
public class
Csv

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

public class
CsvFormat

The CSV format configuration.

public abstract class
CsvFormatDetector

An InputAnalysisProcess to detect column delimiters, quotes and quote escapes in a CSV input.

public class
CsvParser

A very fast CSV parser implementation.

public class
CsvParserSettings

This is the configuration class used by the CSV parser (CsvParser)

In addition to the configuration options provided by CommonParserSettings, the CSVParserSettings include:

  • emptyValue (defaults to null): Defines a replacement string to signify an empty value (which is not a null value)

    When reading, if the parser does not read any character from the input, and the input is within quotes, the empty is used instead of an empty string

public class
CsvRoutines

A collection of common routines involving the processing of CSV data.

public class
CsvWriter

A powerful and flexible CSV writer implementation.

public class
CsvWriterSettings

This is the configuration class used by the CSV writer (CsvWriter)

In addition to the configuration options provided by CommonWriterSettings, the CsvWriterSettings include:

  • emptyValue (defaults to null): Defines a replacement string to signify an empty value (which is not a null value)

    If the writer has an empty String to write to the output, the emptyValue is used instead of an empty string

  • quoteAllFields (defaults to false): By default, only values that contain a field separator are enclosed within quotes.

    If this property is set to true, this indicates that all written values should be enclosed within quotes (as defined in CsvFormat)

Enum Summary

Modifier and TypeEnum and Description
public enum
UnescapedQuoteHandling

This enumeration is used to determine how the (CsvParser) will handle values with unescaped quotes.