Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 mark() in BufferedReader
Index -> Programming, Java -> Java Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
padium




PostPosted: 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?
Sponsor
Sponsor
Sponsor
sponsor
OneOffDriveByPoster




PostPosted: Fri Mar 28, 2008 5:35 pm   Post subject: Re: mark() in BufferedReader

Use RandomAccessFile.
Display posts from previous:   
   Index -> Programming, Java -> Java Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: