mark() in BufferedReader
Author |
Message |
padium
|
Posted: 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? |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
OneOffDriveByPoster
|
Posted: Fri Mar 28, 2008 5:35 pm Post subject: Re: mark() in BufferedReader |
|
|
Use RandomAccessFile. |
|
|
|
|
![](images/spacer.gif) |
|
|