Top Deprecated
univocity-parsers 2.9.1

Deprecated API


No API in this release is deprecated for removal.

Deprecated Item Summary

SinceDeprecated Item and Description

Returns:

Returns the RowProcessor used by the parser to handle each record
com.univocity.parsers.common.CommonParserSettings.getRowProcessor
()

Use the getProcessor() method as it allows format-specific processors to be built to work with different implementations of Context. Implementations based on RowProcessor allow only parsers who provide a ParsingContext to be used.

com.univocity.parsers.common.CommonParserSettings.setRowProcessor(RowProcessor
the RowProcessor instance which should used by the parser to handle each record
processor
)

Use the setProcessor(Processor) method as it allows format-specific processors to be built to work with different implementations of Context. Implementations based on RowProcessor allow only parsers who provide a ParsingContext to be used.

Returns:

the callback error handler with custom code to manage occurrences of DataProcessingException.
com.univocity.parsers.common.CommonSettings.getRowProcessorErrorHandler
()

Use the getProcessorErrorHandler() method as it allows format-specific error handlers to be built to work with different implementations of Context. Implementations based on RowProcessorErrorHandler allow only parsers who provide a ParsingContext to be used.

com.univocity.parsers.common.CommonSettings.setRowProcessorErrorHandler(RowProcessorErrorHandler
the callback error handler with custom code to manage occurrences of DataProcessingException.
rowProcessorErrorHandler
)

Use the setProcessorErrorHandler(ProcessorErrorHandler) method as it allows format-specific error handlers to be built to work with different implementations of Context. Implementations based on RowProcessorErrorHandler allow only parsers who provide a ParsingContext to be used.

com.univocity.parsers.common.processor.core.BeanConversionProcessor(Class<T>
the class annotated with one or more of the annotations provided in com.univocity.parsers.annotations.
beanType
)

Use the BeanConversionProcessor(Class, MethodFilter) constructor instead.

Returns:

a flag indicating whether or not the CSV parser should accept unescaped quotes inside quoted values.
com.univocity.parsers.csv.CsvParserSettings.isParseUnescapedQuotes
()

use getUnescapedQuoteHandling() instead. The configuration returned by getUnescapedQuoteHandling() will override this setting if not null.

Returns:

a flag indicating that the parser should stop accumulating values when a field delimiter character is found when parsing unquoted and unescaped values.
com.univocity.parsers.csv.CsvParserSettings.isParseUnescapedQuotesUntilDelimiter
()

use getUnescapedQuoteHandling() instead. The configuration returned by getUnescapedQuoteHandling() will override this setting if not null.

com.univocity.parsers.csv.CsvParserSettings.setParseUnescapedQuotes(boolean
indicates whether or not the CSV parser should accept unescaped quotes inside quoted values.
parseUnescapedQuotes
)

use setUnescapedQuoteHandling(UnescapedQuoteHandling) instead. The configuration returned by getUnescapedQuoteHandling() will override this setting if not null.

com.univocity.parsers.csv.CsvParserSettings.setParseUnescapedQuotesUntilDelimiter(boolean
a flag indicating that the parser should stop accumulating values when a field delimiter character is found when parsing unquoted and unescaped values.
parseUnescapedQuotesUntilDelimiter
)

use setUnescapedQuoteHandling(UnescapedQuoteHandling) instead. The configuration returned by getUnescapedQuoteHandling() will override this setting if not null.

com.univocity.parsers.fixed.FixedWidthFieldLengths

This class has been modified over time and its name became misleading. Use FixedWidthFields instead.

com.univocity.parsers.fixed.FixedWidthFields(Class<T>
the class whose FixedWidth annotations will be processed to configure this field list.
beanClass
)

use forParsing(Class) and forWriting(Class) to initialize the fields from the given class and filter out getters and setters that target the same field. If the given class has any annotated methods only the setters will be used, making it usable only for parsing.

Returns:

a copy of all configurations applied to the current instance.
com.univocity.parsers.fixed.FixedWidthParserSettings.clone
(boolean
flag indicating whether to clear settings that are likely to be associated with a given input.
clearInputSpecificSettings
)

doesn't really make sense for fixed-width. Use alternative method clone(FixedWidthFields).

Returns:

a copy of all configurations applied to the current instance.
com.univocity.parsers.fixed.FixedWidthWriterSettings.clone
(boolean
flag indicating whether to clear settings that are likely to be associated with a given input.
clearInputSpecificSettings
)

doesn't really make sense for fixed-width. . Use alternative method clone(FixedWidthFields).