Reading specific lines from a file
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Rajiv_Malhotra
Posted On:   Tuesday, September 24, 2002 05:29 AM


I need to read some specific lines from a flat file without using the readLine() function which actually starts reading from the begining of a file. Say for example I have a file that has 100 lines and my program needs to read the chunk of lines between 75 and 80. Is there any class in java that can help me achieve this. I am actually looking for a function similar to readLine(int LineNumber) wherein i can specify the line number and the program is able to directly attack that line..


Please suggest

Re: Reading specific lines from a file

Posted By:   Prakash_Venkataramani  
Posted On:   Tuesday, September 24, 2002 01:05 PM

About | Sitemap | Contact