Class UniVocityFixedDataFormat
java.lang.Object
org.apache.camel.model.IdentifiedType
org.apache.camel.model.DataFormatDefinition
org.apache.camel.model.dataformat.UniVocityAbstractDataFormat
org.apache.camel.model.dataformat.UniVocityFixedDataFormat
- All Implemented Interfaces:
CopyableDefinition<DataFormatDefinition>
@Metadata(firstVersion="2.15.0",
label="dataformat,transformation,csv",
title="uniVocity Fixed Length")
public class UniVocityFixedDataFormat
extends UniVocityAbstractDataFormat
Marshal and unmarshal Java objects from and to fixed length records using UniVocity Parsers.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilderis a specific builder forUniVocityFixedDataFormat.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.voidsetPadding(String padding) The padding character.voidsetRecordEndsOnNewline(String recordEndsOnNewline) Whether or not the record ends on new line.voidsetSkipTrailingCharsUntilNewline(String skipTrailingCharsUntilNewline) Whether or not the trailing characters until new line must be ignored.Methods 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
-
UniVocityFixedDataFormat
public UniVocityFixedDataFormat() -
UniVocityFixedDataFormat
-
-
Method Details
-
copyDefinition
Description copied from interface:CopyableDefinitionMakes a copy of this definition.- Specified by:
copyDefinitionin interfaceCopyableDefinition<DataFormatDefinition>- Overrides:
copyDefinitionin classDataFormatDefinition
-
getSkipTrailingCharsUntilNewline
-
setSkipTrailingCharsUntilNewline
Whether or not the trailing characters until new line must be ignored. The default value is false -
getRecordEndsOnNewline
-
setRecordEndsOnNewline
Whether or not the record ends on new line. The default value is false -
getPadding
-
setPadding
The padding character. The default value is a space
-