public class UniVocityTsvDataFormat extends AbstractUniVocityDataFormat<com.univocity.parsers.tsv.TsvFormat,com.univocity.parsers.tsv.TsvWriterSettings,com.univocity.parsers.tsv.TsvWriter,com.univocity.parsers.tsv.TsvParserSettings,com.univocity.parsers.tsv.TsvParser,UniVocityTsvDataFormat>
Modifier and Type | Field and Description |
---|---|
protected Character |
escapeChar |
asMap, comment, emptyValue, headerExtractionEnabled, headers, headersDisabled, ignoreLeadingWhitespaces, ignoreTrailingWhitespaces, lazyLoad, lineSeparator, normalizedLineSeparator, nullValue, numberOfRecordsToRead, skipEmptyLines
Constructor and Description |
---|
UniVocityTsvDataFormat() |
Modifier and Type | Method and Description |
---|---|
protected void |
configureFormat(com.univocity.parsers.tsv.TsvFormat format)
Configures the format.
|
protected com.univocity.parsers.tsv.TsvParser |
createParser(com.univocity.parsers.tsv.TsvParserSettings settings)
Creates a new instance of the uniVocity parser.
|
protected com.univocity.parsers.tsv.TsvParserSettings |
createParserSettings()
Creates a new instance of the parser settings.
|
protected com.univocity.parsers.tsv.TsvWriter |
createWriter(Writer writer,
com.univocity.parsers.tsv.TsvWriterSettings settings)
Creates a new instance of the uniVocity writer.
|
protected com.univocity.parsers.tsv.TsvWriterSettings |
createWriterSettings()
Creates a new instance of the writer settings.
|
String |
getDataFormatName() |
Character |
getEscapeChar()
Gets the escape character symbol.
|
UniVocityTsvDataFormat |
setEscapeChar(Character escapeChar)
Sets the escape character symbol.
|
configureParserSettings, configureWriterSettings, doStart, doStop, getComment, getEmptyValue, getHeaderExtractionEnabled, getHeaders, getIgnoreLeadingWhitespaces, getIgnoreTrailingWhitespaces, getLineSeparator, getNormalizedLineSeparator, getNullValue, getNumberOfRecordsToRead, getSkipEmptyLines, isAsMap, isHeadersDisabled, isLazyLoad, marshal, setAsMap, setComment, setEmptyValue, setHeaderExtractionEnabled, setHeaders, setHeadersDisabled, setIgnoreLeadingWhitespaces, setIgnoreTrailingWhitespaces, setLazyLoad, setLineSeparator, setNormalizedLineSeparator, setNullValue, setNumberOfRecordsToRead, setSkipEmptyLines, unmarshal
protected Character escapeChar
public Character getEscapeChar()
null
then the default format value is used.TsvFormat.getEscapeChar()
public UniVocityTsvDataFormat setEscapeChar(Character escapeChar)
null
then the default settings value is used.escapeChar
- the escape character symbolTsvFormat.setEscapeChar(char)
protected com.univocity.parsers.tsv.TsvWriterSettings createWriterSettings()
createWriterSettings
in class AbstractUniVocityDataFormat<com.univocity.parsers.tsv.TsvFormat,com.univocity.parsers.tsv.TsvWriterSettings,com.univocity.parsers.tsv.TsvWriter,com.univocity.parsers.tsv.TsvParserSettings,com.univocity.parsers.tsv.TsvParser,UniVocityTsvDataFormat>
protected com.univocity.parsers.tsv.TsvWriter createWriter(Writer writer, com.univocity.parsers.tsv.TsvWriterSettings settings)
createWriter
in class AbstractUniVocityDataFormat<com.univocity.parsers.tsv.TsvFormat,com.univocity.parsers.tsv.TsvWriterSettings,com.univocity.parsers.tsv.TsvWriter,com.univocity.parsers.tsv.TsvParserSettings,com.univocity.parsers.tsv.TsvParser,UniVocityTsvDataFormat>
writer
- Output writer to usesettings
- Writer settings to useprotected com.univocity.parsers.tsv.TsvParserSettings createParserSettings()
createParserSettings
in class AbstractUniVocityDataFormat<com.univocity.parsers.tsv.TsvFormat,com.univocity.parsers.tsv.TsvWriterSettings,com.univocity.parsers.tsv.TsvWriter,com.univocity.parsers.tsv.TsvParserSettings,com.univocity.parsers.tsv.TsvParser,UniVocityTsvDataFormat>
protected com.univocity.parsers.tsv.TsvParser createParser(com.univocity.parsers.tsv.TsvParserSettings settings)
createParser
in class AbstractUniVocityDataFormat<com.univocity.parsers.tsv.TsvFormat,com.univocity.parsers.tsv.TsvWriterSettings,com.univocity.parsers.tsv.TsvWriter,com.univocity.parsers.tsv.TsvParserSettings,com.univocity.parsers.tsv.TsvParser,UniVocityTsvDataFormat>
settings
- Parser settings to useprotected void configureFormat(com.univocity.parsers.tsv.TsvFormat format)
configureFormat
in class AbstractUniVocityDataFormat<com.univocity.parsers.tsv.TsvFormat,com.univocity.parsers.tsv.TsvWriterSettings,com.univocity.parsers.tsv.TsvWriter,com.univocity.parsers.tsv.TsvParserSettings,com.univocity.parsers.tsv.TsvParser,UniVocityTsvDataFormat>
format
- format to configurepublic String getDataFormatName()
Apache Camel