public class CSVReaderBuilder extends Object
final CSVParser parser =
new CSVParserBuilder()
.withSeparator('\t')
.withIgnoreQuotations(true)
.build();
final CSVReader reader =
new CSVReaderBuilder(new StringReader(csv))
.withSkipLines(1)
.withCSVParser(parser)
.build();
CSVReader
Modifier and Type | Method and Description |
---|---|
protected CSVParser |
getCsvParser()
used by unit tests.
|
protected Reader |
getReader()
Used by unit tests.
|
protected int |
getSkipLines()
used by unit tests.
|
protected Reader getReader()
protected int getSkipLines()
protected CSVParser getCsvParser()
Copyright © 2015. All rights reserved.