Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- entries = new CsvToBeanBuilder(new FileReader(pathToFile))
- .withSeparator(';')
- .withType(Bean.class)
- .build().parse();
- H1;H2;H3
- a;b;c
- d;e;f
- g;h;i
- EoF
- java.lang.RuntimeException: com.opencsv.exceptions.CsvRequiredFieldEmptyException: Number of data fields does not match number of headers.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement