There are five CSV writing implementations in Super CSV.
|Writes each row of CSV from a||POJO (must be a valid Javabean)||POJO (must be a valid Javabean)||JDBC ResultSet||List<String> or List<Object>||Map<String> or Map<Object>|
|Supports deep mapping and index-based mapping?||No||Yes||No||No||No|
|Supports partial writing (default values)?||Yes||Yes||No||Yes||Yes|
Which one you choose will depend on your requirements, but we recommend using CsvBeanWriter, CsvDozerBeanWriter or CsvResultSetWriter where possible, as it's far easier than working with Lists or Maps. Check out the writing examples to see them in action.