File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
    Bookmark Topic Watch Topic
  • New Topic

reading from the end of file

 
Asher Tarnopolski
Ranch Hand
Posts: 260
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
hey folks,
i have a huge log file (asci text) but i need to read in it only a number of last lines (the logs from the last day,beginning from the last line). i pretty hate all io stuff
didn't find any method in the api which lets me read lines from the end. is it any way to do it without reading all of the lines from the beginning?
thanks.
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not cross post. Continue this conversation here.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic