| Package | Description |
|---|---|
| com.univocity.parsers.csv |
| Modifier and Type | Method and Description |
|---|---|
CsvFormat |
CsvFormat.clone() |
protected CsvFormat |
CsvParserSettings.createDefaultFormat()
Returns the default CsvFormat configured to handle CSV inputs compliant to the RFC4180 standard.
|
protected CsvFormat |
CsvWriterSettings.createDefaultFormat()
Returns the default CsvFormat configured to produce CSV outputs compliant to the RFC4180 standard.
|
CsvFormat |
CsvParser.getDetectedFormat()
Returns the CSV format detected when one of the following settings is enabled:
CommonParserSettings.isLineSeparatorDetectionEnabled()
CsvParserSettings.isDelimiterDetectionEnabled()
CsvParserSettings.isQuoteDetectionEnabled()
The detected format will be available once the parsing process is initialized (i.e. |
CsvFormat |
CsvFormat.setCharToEscapeQuoteEscaping(char charToEscapeQuoteEscaping)
Defines the character used to escape the character used for escaping quotes defined by
getQuoteEscape(). |
CsvFormat |
CsvFormat.setComment(char comment)
Defines the character that represents a line comment when found in the beginning of a line of text.
|
CsvFormat |
CsvFormat.setDelimiter(char delimiter)
Defines the field delimiter character.
|
CsvFormat |
CsvFormat.setDelimiter(String delimiter)
Defines the field delimiter as a sequence of characters.
|
CsvFormat |
CsvFormat.setLineSeparator(char[] lineSeparator)
Defines the line separator sequence that should be used for parsing and writing.
|
CsvFormat |
CsvFormat.setLineSeparator(String lineSeparator)
Defines the line separator sequence that should be used for parsing and writing.
|
CsvFormat |
CsvFormat.setNormalizedNewline(char normalizedNewline)
Sets the normalized newline character, which is automatically replaced by
Format.getLineSeparator() when reading/writing |
CsvFormat |
CsvFormat.setQuote(char quote)
Defines the character used for escaping values where the field delimiter is part of the value.
|
CsvFormat |
CsvFormat.setQuoteEscape(char quoteEscape)
Defines the character used for escaping quotes inside an already quoted value.
|
| Modifier and Type | Method and Description |
|---|---|
CsvParserSettings |
CsvParserSettings.setFormat(CsvFormat format)
Defines the format of the file to be parsed/written (returns the format's defaults).
|
void |
CsvParser.updateFormat(CsvFormat format)
Allows changing the format of the input on the fly.
|
Copyright © 2024. All rights reserved.