How to read and parse CSV file in Java

CSV stands for Comma Seperated Values. A CSV file is used for data storage, it looks like a normal text file containing organised information seperated by a delimiter Comma. There are many ways of Reading and Parsing a CSV file, in this example we will look into the below three methods

  1. Using BufferedReader and String.split()
  2. Using Scanner of Java Util package
  3. Using 3rd party library like OpenCSV

[Read more…]