I\'m working on a program that requires quick access to a CSV comma-delimited spreadsheet file. So far I\'ve been able to read from it easily using a BufferedReader. However
Please consider Apache commons csv. To fast understand the api, there are four important classes:
CSVFormat
Specifies the format of a CSV file and parses input.
CSVParser
Parses CSV files according to the specified format.
CSVPrinter
Prints values in a CSV format.
CSVRecord
A CSV record parsed from a CSV file.
Code Example:
Unit test code: