[4559] in java-interest

home help back first fref pref prev next nref lref last post

Read lines from bottom of file

daemon@ATHENA.MIT.EDU (Kyungsoon Park)
Fri Jan 5 21:39:52 1996

Date: Sat, 06 Jan 1996 10:04:32 +0900
To: java-interest@java.sun.com
From: Kyungsoon Park <sosarian@bae.nuri.net>

Hi,

How can I read lines from the bottom of a file?
Is there any function?
I know it is possible to read every lines from top to bottom and then
reverse it,
but if the file contain about 1000 lines, I must read every lines to get 10
lines from bottom.
Can you help me?


-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post