This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Java in General and the fly likes how to getcursor to first location of file? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "how to getcursor to first location of file?" Watch "how to getcursor to first location of file?" New topic
Author

how to getcursor to first location of file?

srinivas.b
Ranch Hand

Joined: Oct 26, 2006
Posts: 58
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

Joined: Oct 21, 2007
Posts: 77
You can use the RandomAccessFile


You Want it.. Get it.......the Right Way...<br /> <br />SCJP 5.0 SCWCD 5.0
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to getcursor to first location of file?