View Single Post
  #1 (permalink)  
Old 11-16-2007, 11:16 PM
ShoeNinja's Avatar
ShoeNinja ShoeNinja is offline
Senior Member
 
Join Date: Oct 2007
Posts: 123
ShoeNinja is on a distinguished road
Send a message via AIM to ShoeNinja
BufferedReader .mark(int readAheadLimit)
I've been working on a file management class and would like to establish a permanent mark at the beginning of the file. I've been running into problems with the readAheadLimit. It's easy to go over while traversing the file.

Does anyone know how to establish a permanent mark at the beginning of the file to return to? I've considered remarking the file during certain method calls but this seems to be wasteful.

Thanks in advance.
Reply With Quote
Sponsored Links