My csv file has delimiter of tab and contains some empty lines. How can I skip the empty lines when reading the file? The following code receives an exception when it encounters empty lines.
CSVParser csvFileParser;
CSVFormat csvFileFormat = CSVFormat.newFormat('\t');
csvFileFormat.withSkipHeaderRecord();
csvFileFormat.getIgnoreEmptyLines();