i am trying to read a huge file ( > 1GB) , i am thinking that reading it as a random access file with a buffered reader would be efficient.
i need to read the file line by line and parse it
However being new to JAVA IO Api , i’m not sure how can i do this..
i appreciate your help.
You can use Java’s BufferedReader for this:
fileNameis the path to the file you want to read.