Class UniVocityCsvDataFormat
java.lang.Object
org.apache.camel.model.IdentifiedType
org.apache.camel.model.DataFormatDefinition
org.apache.camel.model.dataformat.UniVocityAbstractDataFormat
org.apache.camel.model.dataformat.UniVocityCsvDataFormat
- All Implemented Interfaces:
CopyableDefinition<DataFormatDefinition>
@Metadata(firstVersion="2.15.0",
label="dataformat,transformation,csv",
title="uniVocity CSV")
public class UniVocityCsvDataFormat
extends UniVocityAbstractDataFormat
Marshal and unmarshal Java objects from and to CSV (Comma Separated Values) using UniVocity Parsers.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilderis a specific builder forUniVocityCsvDataFormat.Nested classes/interfaces inherited from class org.apache.camel.model.dataformat.UniVocityAbstractDataFormat
UniVocityAbstractDataFormat.AbstractBuilder<T extends UniVocityAbstractDataFormat.AbstractBuilder<T,F>, F extends UniVocityAbstractDataFormat> -
Field Summary
Fields inherited from class org.apache.camel.model.dataformat.UniVocityAbstractDataFormat
asMap, comment, emptyValue, headerExtractionEnabled, headers, headersDisabled, ignoreLeadingWhitespaces, ignoreTrailingWhitespaces, lazyLoad, lineSeparator, normalizedLineSeparator, nullValue, numberOfRecordsToRead, skipEmptyLines -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionMakes a copy of this definition.getQuote()voidsetDelimiter(String delimiter) The delimiter of valuesvoidThe quote symbol.voidsetQuoteAllFields(String quoteAllFields) Whether or not all values must be quoted when writing them.voidsetQuoteEscape(String quoteEscape) The quote escape symbolMethods inherited from class org.apache.camel.model.dataformat.UniVocityAbstractDataFormat
getAsMap, getComment, getEmptyValue, getHeaderExtractionEnabled, getHeaders, getHeadersDisabled, getIgnoreLeadingWhitespaces, getIgnoreTrailingWhitespaces, getLazyLoad, getLineSeparator, getNormalizedLineSeparator, getNullValue, getNumberOfRecordsToRead, getSkipEmptyLines, setAsMap, setComment, setEmptyValue, setHeaderExtractionEnabled, setHeaders, setHeadersDisabled, setIgnoreLeadingWhitespaces, setIgnoreTrailingWhitespaces, setLazyLoad, setLineSeparator, setNormalizedLineSeparator, setNullValue, setNumberOfRecordsToRead, setSkipEmptyLinesMethods inherited from class org.apache.camel.model.DataFormatDefinition
getDataFormat, getDataFormatName, getShortName, setDataFormat, setDataFormatNameMethods inherited from class org.apache.camel.model.IdentifiedType
getId, setId
-
Constructor Details
-
UniVocityCsvDataFormat
public UniVocityCsvDataFormat() -
UniVocityCsvDataFormat
-
-
Method Details
-
copyDefinition
Description copied from interface:CopyableDefinitionMakes a copy of this definition.- Specified by:
copyDefinitionin interfaceCopyableDefinition<DataFormatDefinition>- Overrides:
copyDefinitionin classDataFormatDefinition
-
getQuoteAllFields
-
setQuoteAllFields
Whether or not all values must be quoted when writing them. -
getQuote
-
setQuote
The quote symbol. -
getQuoteEscape
-
setQuoteEscape
The quote escape symbol -
getDelimiter
-
setDelimiter
The delimiter of values
-