Fabrice Esti�venart wrote:
while(inputStream.readLine(line)) { //do something }
...although I end it by a carriage return (\n), the last line is NEVER read
The interface doesn't document this so clearly, but a return value of "false" means the line that just got read in that call is the last line of the file. The interface was initially written to be easy to use from a |do {} while()| loop....
-Boris _______________________________________________ Mozilla-xpcom mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-xpcom
