Question about Java File Reader.

Posted by Cris Carter on Stack Overflow See other posts from Stack Overflow or by Cris Carter
Published on 2010-03-19T19:36:08Z Indexed on 2010/03/19 19:41 UTC
Read the original article Hit count: 482

Filed under:
|
|
|

Hello. I'm having some problems with the FileReader class.

How do I specify an offset in the lines it goes through, and how do I tell it when to stop? Let's say I want it to go through each line in a .txt file, but only lines 100-200 and then stop?

How would I do this? Right now I'm using ReadLine() but I don't think there's a way to specify offset with that.

Any fast help is VERY appreciated. Thanks.

© Stack Overflow or respective owner

Related posts about java

Related posts about filereader