If performance and efficiency are your utmost concern, use memory mapped files and NIO and write your own CSV parser.
But most often, this is just a waste of your time. So I suggest that you first try CSVReader
and only if you find out that this doesn't work for you, you write your own CSV parser.
Also note that a BufferedReader
will usually be faster than RandomAccessFile
.