Menu

#164 Sample code change on http://opencsv.sourceforge.net/

v1.0 (example)
closed-fixed
None
5
2018-01-20
2018-01-12
Jeff Conrad
No

http://opencsv.sourceforge.net/

Need a "new" before CsvToBeanBuilder

CsvToBean csvToBean = CsvToBeanBuilder(new FileReader("yourfile.csv"))
.withSeparator('\t').withQuoteChar('\'').withSkipLines(2).build();

CsvToBean csvToBean = new CsvToBeanBuilder(new FileReader("yourfile.csv"))
.withSeparator('\t').withQuoteChar('\'').withSkipLines(2).build();

Discussion

  • Scott Conway

    Scott Conway - 2018-01-20
    • assigned_to: Scott Conway
     
  • Scott Conway

    Scott Conway - 2018-01-20
    • status: open --> closed-fixed
     
  • Scott Conway

    Scott Conway - 2018-01-20

    Fixed and will be out with the 4.2 release.

     

Log in to post a comment.