public class UniVocityCsvDataFormat extends AbstractUniVocityDataFormat<com.univocity.parsers.csv.CsvFormat,com.univocity.parsers.csv.CsvWriterSettings,com.univocity.parsers.csv.CsvWriter,com.univocity.parsers.csv.CsvParserSettings,com.univocity.parsers.csv.CsvParser,UniVocityCsvDataFormat>
| Modifier and Type | Field and Description |
|---|---|
protected Character |
delimiter |
protected Character |
quote |
protected Boolean |
quoteAllFields |
protected Character |
quoteEscape |
asMap, comment, emptyValue, headerExtractionEnabled, headers, headersDisabled, ignoreLeadingWhitespaces, ignoreTrailingWhitespaces, lazyLoad, lineSeparator, normalizedLineSeparator, nullValue, numberOfRecordsToRead, skipEmptyLines| Constructor and Description |
|---|
UniVocityCsvDataFormat() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureFormat(com.univocity.parsers.csv.CsvFormat format)
Configures the format.
|
protected void |
configureParserSettings(com.univocity.parsers.csv.CsvParserSettings settings)
Configure the parser settings.
|
protected void |
configureWriterSettings(com.univocity.parsers.csv.CsvWriterSettings settings)
Configures the writer settings.
|
protected com.univocity.parsers.csv.CsvParser |
createParser(com.univocity.parsers.csv.CsvParserSettings settings)
Creates a new instance of the uniVocity parser.
|
protected com.univocity.parsers.csv.CsvParserSettings |
createParserSettings()
Creates a new instance of the parser settings.
|
protected com.univocity.parsers.csv.CsvWriter |
createWriter(Writer writer,
com.univocity.parsers.csv.CsvWriterSettings settings)
Creates a new instance of the uniVocity writer.
|
protected com.univocity.parsers.csv.CsvWriterSettings |
createWriterSettings()
Creates a new instance of the writer settings.
|
Character |
getDelimiter()
Gets the delimiter symbol.
|
Character |
getQuote()
Gets the quote symbol.
|
Boolean |
getQuoteAllFields()
Gets whether or not all fields must be quoted.
|
Character |
getQuoteEscape()
Gets the quote escape symbol.
|
UniVocityCsvDataFormat |
setDelimiter(Character delimiter)
Sets the delimiter symbol.
|
UniVocityCsvDataFormat |
setQuote(Character quote)
Sets the quote symbol.
|
UniVocityCsvDataFormat |
setQuoteAllFields(Boolean quoteAllFields)
Gets whether or not all fields must be quoted.
|
UniVocityCsvDataFormat |
setQuoteEscape(Character quoteEscape)
Sets the quote escape symbol.
|
getComment, getEmptyValue, getHeaderExtractionEnabled, getHeaders, getIgnoreLeadingWhitespaces, getIgnoreTrailingWhitespaces, getLineSeparator, getNormalizedLineSeparator, getNullValue, getNumberOfRecordsToRead, getSkipEmptyLines, isAsMap, isHeadersDisabled, isLazyLoad, marshal, reset, setAsMap, setComment, setEmptyValue, setHeaderExtractionEnabled, setHeaders, setHeadersDisabled, setIgnoreLeadingWhitespaces, setIgnoreTrailingWhitespaces, setLazyLoad, setLineSeparator, setNormalizedLineSeparator, setNullValue, setNumberOfRecordsToRead, setSkipEmptyLines, unmarshalprotected Boolean quoteAllFields
protected Character quote
protected Character quoteEscape
protected Character delimiter
public Boolean getQuoteAllFields()
null then the default settings value is used.CsvWriterSettings.getQuoteAllFields()public UniVocityCsvDataFormat setQuoteAllFields(Boolean quoteAllFields)
null then the default settings value is used.quoteAllFields - whether or not all fields must be quotedCsvWriterSettings.setQuoteAllFields(boolean)public Character getQuote()
null then the default format value is used.CsvFormat.getQuote()public UniVocityCsvDataFormat setQuote(Character quote)
null then the default format value is used.quote - the quote symbolCsvFormat.setQuote(char)public Character getQuoteEscape()
null then the default format value is used.CsvFormat.getQuoteEscape()public UniVocityCsvDataFormat setQuoteEscape(Character quoteEscape)
null then the default format value is used.quoteEscape - the quote escape symbolCsvFormat.setQuoteEscape(char)public Character getDelimiter()
null then the default format value is used.CsvFormat.getDelimiter()public UniVocityCsvDataFormat setDelimiter(Character delimiter)
null then the default format value is used.delimiter - the delimiter symbolCsvFormat.setDelimiter(char)protected com.univocity.parsers.csv.CsvWriterSettings createWriterSettings()
createWriterSettings in class AbstractUniVocityDataFormat<com.univocity.parsers.csv.CsvFormat,com.univocity.parsers.csv.CsvWriterSettings,com.univocity.parsers.csv.CsvWriter,com.univocity.parsers.csv.CsvParserSettings,com.univocity.parsers.csv.CsvParser,UniVocityCsvDataFormat>protected void configureWriterSettings(com.univocity.parsers.csv.CsvWriterSettings settings)
configureWriterSettings in class AbstractUniVocityDataFormat<com.univocity.parsers.csv.CsvFormat,com.univocity.parsers.csv.CsvWriterSettings,com.univocity.parsers.csv.CsvWriter,com.univocity.parsers.csv.CsvParserSettings,com.univocity.parsers.csv.CsvParser,UniVocityCsvDataFormat>settings - Writer settings to configureprotected com.univocity.parsers.csv.CsvWriter createWriter(Writer writer, com.univocity.parsers.csv.CsvWriterSettings settings)
createWriter in class AbstractUniVocityDataFormat<com.univocity.parsers.csv.CsvFormat,com.univocity.parsers.csv.CsvWriterSettings,com.univocity.parsers.csv.CsvWriter,com.univocity.parsers.csv.CsvParserSettings,com.univocity.parsers.csv.CsvParser,UniVocityCsvDataFormat>writer - Output writer to usesettings - Writer settings to useprotected com.univocity.parsers.csv.CsvParserSettings createParserSettings()
createParserSettings in class AbstractUniVocityDataFormat<com.univocity.parsers.csv.CsvFormat,com.univocity.parsers.csv.CsvWriterSettings,com.univocity.parsers.csv.CsvWriter,com.univocity.parsers.csv.CsvParserSettings,com.univocity.parsers.csv.CsvParser,UniVocityCsvDataFormat>protected void configureParserSettings(com.univocity.parsers.csv.CsvParserSettings settings)
configureParserSettings in class AbstractUniVocityDataFormat<com.univocity.parsers.csv.CsvFormat,com.univocity.parsers.csv.CsvWriterSettings,com.univocity.parsers.csv.CsvWriter,com.univocity.parsers.csv.CsvParserSettings,com.univocity.parsers.csv.CsvParser,UniVocityCsvDataFormat>settings - Parser settings to configureprotected com.univocity.parsers.csv.CsvParser createParser(com.univocity.parsers.csv.CsvParserSettings settings)
createParser in class AbstractUniVocityDataFormat<com.univocity.parsers.csv.CsvFormat,com.univocity.parsers.csv.CsvWriterSettings,com.univocity.parsers.csv.CsvWriter,com.univocity.parsers.csv.CsvParserSettings,com.univocity.parsers.csv.CsvParser,UniVocityCsvDataFormat>settings - Parser settings to useprotected void configureFormat(com.univocity.parsers.csv.CsvFormat format)
configureFormat in class AbstractUniVocityDataFormat<com.univocity.parsers.csv.CsvFormat,com.univocity.parsers.csv.CsvWriterSettings,com.univocity.parsers.csv.CsvWriter,com.univocity.parsers.csv.CsvParserSettings,com.univocity.parsers.csv.CsvParser,UniVocityCsvDataFormat>format - format to configureApache Camel