Top Deprecated
opencsv 5.12.0

Deprecated API


No API in this release is deprecated for removal.

Deprecated Item Summary

SinceDeprecated Item and Description

Returns:

The null field indicator.
com.opencsv.CSVParserBuilder.nullFieldIndicator
()

As of 5.11.3, replaced by getNullFieldIndicator().

Returns:

Whether the mapping strategy is driven by annotations
com.opencsv.bean.MappingStrategy.isAnnotationDriven
()

This is simply no longer necessary.

Returns:

Whether or not exceptions are thrown. If they are not thrown, they are captured and returned later via getCapturedExceptions().
com.opencsv.bean.StatefulBeanToCsv.isThrowExceptions
()

There is simply no need for this method.

com.opencsv.bean.comparator.LiteralComparator<
The type to be sorted
T extends Comparable<T>
>

This exact behavior can be had using comparators from Apache Commons Collections, which opencsv includes as a dependency. The following code gives the same result: List<T> predefinedList = Arrays.<T>asList(predefinedOrder); FixedOrderComparator<T> fixedComparator = new FixedOrderComparator<>(predefinedList); fixedComparator.setUnknownObjectBehavior(FixedOrderComparator.UnknownObjectBehavior.AFTER); Comparator<T> c = new ComparatorChain<>(Arrays.<Comparator<T>>asList( fixedComparator, new NullComparator<>(false), new ComparableComparator<>()));

No API in this release references deprecated elements.