Hi,
Is there a way to implement an Iterator in the
SimpleFile class (for lines Array) ?
Indeed we can get a specific line with the "getLine()"
method and the amount of lines in the file with
"countLines()".
It would be useful to be able to read the file from
beginning to the end, line by line with an iterator system.
Thanks.
eRom
Logged In: YES
user_id=901744
New File API works different and allows currently with
File.getContent().lineIterator to get direct acces to the
lines. But it in discussion to remove this mehtod since it
is possible to get same functionality with
new ArrayIterator(File.getContent().getLines());
yours
Martin.