Saturday, September 3, 2016

Parsing CSV using Java

We could parse CSV in Java without using third party libraries because CSV file is nothing but a text file and we could use BufferedBufferedReader and split() method from java.lang.String class

The csv file 

Our CSV file - Employees.txt
NAME,Age,location
Binod,20,Hyderabad,INR
Samuel,20,Boston,SGD
Billy,19,China,YUAN


No comments:

Post a Comment