Random Access file seek operation line by line in java
<p>I have large text file in a sorted form. I want to search records  and insert new record in this file. For searching binarySearch looks better choice but to implement binary search I need a seek operation which will works on line number(Random Access File seek operation works on offset or byte length in java) Please guide me what will the better alternative to perform search operation in sorted file using java.</p>
