Computer Science Canada

mark() in BufferedReader

Author:  padium [ Fri Mar 28, 2008 3:49 pm ]
Post subject:  mark() in BufferedReader

How do set the read ahead limit to be the rest of the file? Do I just use some obscenly large number? Is there an easy way when I am not sure what the length of the file is... BTW I am using BufferedReader and want to reset to the beginning of the file... is there an easier way to do that?

Author:  OneOffDriveByPoster [ Fri Mar 28, 2008 5:35 pm ]
Post subject:  Re: mark() in BufferedReader

Use RandomAccessFile.


: