Here is the line i am using currently
File booleanTopicFile; // booleanTopicFile is csv file uploaded from form CSVReader csvReader = new CSVReader(new Input
At least since version 3.8 you can use the CSVReaderBuilder and set it to skip the first line.
CSVReaderBuilder
Example:
CSVReader reader = new CSVReaderBuilder(inputStreamReader) .withFieldAsNull(CSVReaderNullFieldIndicator.EMPTY_SEPARATORS) // Skip the header .withSkipLines(1) .build();