I have a delimited file which can contain around millions of records , now I want to delete the first line from the delimited file before processing it further.
The length of the first line is variable , it differs as per the file type.. now I have done a readup on the FileChannel and RandomAccessFile which have been suggested as the best ways to delete the first line.
But I am unable to figure it out , as to how to get the length of the first line and delete it.