0

I want to read a specific line in a text file without sequentially going over each line and maintaining a line-counter or something.

Basically I want to know if there is any Class from core library that will give Random-Access to any line in a text file.

4

1 回答 1

0

没有标准功能可以满足您的要求。但你可能想看看:

http://docs.oracle.com/javase/tutorial/essential/io/rafs.html

...另一种方法。

于 2013-07-04T13:35:44.030 回答