traversing a Map generated from OpenCSV

I have a single column of data, output from Google Sheets as CSV, and also from LibreOffice as CSV as well. I've tried to marshal both files using OpenCSV but am only getting a small portion of data available.

How can I read this file in? I don't really see any commas in this CSV file...but it's only a single column of data.

file:

thufir@dur:~/jaxb$

thufir@dur:~/jaxb$ head input.csv

Field 1

Foo # 16

bar

baz

fdkfdl

fdsfdsfsdfgh

thufir@dur:~/jaxb$

output:

thufir@dur:~/NetBeansProjects/BaseXFromJAXB$

thufir@dur:~/NetBeansProjects/BaseXFromJAXB$ gradle run

> Task :run

Jan 10, 2019 3:36:08 PM net.bounceme.dur.basexfromjaxb.csv.ReaderForCVS printMap

INFO: Foo # 16

Jan 10, 2019 3:36:08 PM net.bounceme.dur.basexfromjaxb.csv.ReaderForCVS...

Read More »

By: StackOverFlow - 7 days ago

Related Posts

  • Older News
  • Groovy OpenCSV readh value with backslash StackOverFlow (2 days ago) - In Groovy I am using opencsv to parse the CSV file. my code is not handling value with backslash.my input file has this valuevalue1,domain\user,value2Here is my groovy code.def filename =...