Parsing CSV in java

后端 未结 9 1868
臣服心动
臣服心动 2020-11-27 21:12

I have this weird situation where I have to read horizontally. So I am getting a csv file which has data in horizontal format. Like below:

CompanyName,RunDat         


        
9条回答
  •  醉酒成梦
    2020-11-27 21:46

    As other has suggested for splitting and parsing you can use opencsv

    For simple data, split them by "," and parse it and ,Use List to add all these values.

提交回复
热议问题