I have usual csv file with header
f1, f2, f3
1, 2, 3
and I try to parse it:
Iterable<CSVRecord> records = CSVFormat.EXCEL.withIgnoreEmptyLines().withSkipHeaderRecord().parse(in);
records.forEach(record -> {
...
But anyway the first record is header anyway.
What do I wrong?