| Package | Description |
|---|---|
| com.univocity.parsers.csv |
| Modifier and Type | Method and Description |
|---|---|
CsvWriterSettings |
CsvWriterSettings.clone() |
CsvWriterSettings |
CsvWriterSettings.clone(boolean clearInputSpecificSettings) |
protected CsvWriterSettings |
CsvRoutines.createDefaultWriterSettings() |
CsvWriterSettings |
CsvWriterSettings.setEscapeUnquotedValues(boolean escapeUnquotedValues)
Configures the writer to process escape sequences in unquoted values.
|
CsvWriterSettings |
CsvWriterSettings.setInputEscaped(boolean isInputEscaped)
Configures the writer to prevent it to introduce escape sequences.
|
CsvWriterSettings |
CsvWriterSettings.setNormalizeLineEndingsWithinQuotes(boolean normalizeLineEndingsWithinQuotes)
Flag indicating whether the writer should replace the the normalized line separator character specified in
Format.getNormalizedNewline()
by the sequence specified in Format.getLineSeparator(), when the value is enclosed within quotes. |
CsvWriterSettings |
CsvWriterSettings.setQuotationTriggers(char... quotationTriggers)
Defines one or more "triggers" for enclosing a value within quotes.
|
CsvWriterSettings |
CsvWriterSettings.setQuoteAllFields(boolean quoteAllFields)
Indicates indicates whether or not all written values should be enclosed within quotes (as defined in
CsvFormat) |
CsvWriterSettings |
CsvWriterSettings.setQuoteEscapingEnabled(boolean quoteEscapingEnabled)
Configures the CSV writer to escape values that contain the quote character, by enclosing the entire
value in quotes.
|
static CsvWriterSettings |
Csv.writeExcel()
Provides a basic CSV configuration that allows writing CSV files that can be read by Microsoft Excel.
|
static CsvWriterSettings |
Csv.writeRfc4180()
Provides a basic CSV configuration for writing CSV files in accordance with the
rules established by RFC 4180
|
| Modifier and Type | Method and Description |
|---|---|
protected CsvWriter |
CsvRoutines.createWriter(Writer output,
CsvWriterSettings writerSettings) |
protected void |
CsvWriter.initialize(CsvWriterSettings settings)
Initializes the CSV writer with CSV-specific configuration
|
| Constructor and Description |
|---|
CsvRoutines(CsvParserSettings parserSettings,
CsvWriterSettings writerSettings)
Creates a new instance of the CSV routine class.
|
CsvRoutines(CsvWriterSettings writerSettings)
Creates a new instance of the CSV routine class.
|
CsvWriter(CsvWriterSettings settings)
The CsvWriter supports all settings provided by
CsvWriterSettings, and requires this configuration to be properly initialized. |
CsvWriter(File file,
Charset encoding,
CsvWriterSettings settings)
The CsvWriter supports all settings provided by
CsvWriterSettings, and requires this configuration to be properly initialized. |
CsvWriter(File file,
CsvWriterSettings settings)
The CsvWriter supports all settings provided by
CsvWriterSettings, and requires this configuration to be properly initialized. |
CsvWriter(File file,
String encoding,
CsvWriterSettings settings)
The CsvWriter supports all settings provided by
CsvWriterSettings, and requires this configuration to be properly initialized. |
CsvWriter(OutputStream output,
Charset encoding,
CsvWriterSettings settings)
The CsvWriter supports all settings provided by
CsvWriterSettings, and requires this configuration to be properly initialized. |
CsvWriter(OutputStream output,
CsvWriterSettings settings)
The CsvWriter supports all settings provided by
CsvWriterSettings, and requires this configuration to be properly initialized. |
CsvWriter(OutputStream output,
String encoding,
CsvWriterSettings settings)
The CsvWriter supports all settings provided by
CsvWriterSettings, and requires this configuration to be properly initialized. |
CsvWriter(Writer writer,
CsvWriterSettings settings)
The CsvWriter supports all settings provided by
CsvWriterSettings, and requires this configuration to be properly initialized. |
Copyright © 2024. All rights reserved.