• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to getcursor to first location of file?  RSS feed

 
srinivas.b
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I Just wrote a code that counts no of lines in a file
so the cursor has come to the end of line and unable to retrieve the data.

can any one help
 
Justin Russo
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use the RandomAccessFile
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!