CSV Readers

There are four CSV reading implementations in Super CSV.

CsvBeanReaderCsvDozerBeanReaderCsvListReaderCsvMapReader
Reads each row of CSV as aPOJO (must be a valid Javabean, or interface with setters)POJO (must be a valid Javabean)List<String> or List<Object>Map<String> or Map<Object>
Supports reading into an existing bean?YesYesNoNo
Supports deep mapping and index-based mapping?NoYesNoNo
Supports partial reading (ignoring columns)?YesYesNoYes
Supports variable number of columns ?NoNoYesNo

Which one you choose will depend on your requirements, but we recommend using CsvBeanReader or CsvDozerBeanReader where possible, as it's far easier to work with POJOs than Lists or Maps. Check out the reading examples to see them in action.