Make BufferedReader.readLine() not consider \r EOL

From: Morten (usenet_at_kikobu.com)
Date: 06/29/04


Date: 29 Jun 2004 09:07:06 -0700

Hi. I have a file using \n as line-separator. There are also
occurrences of \r in the file, but I don't want the
BufferedReader.readLine() to consider those as EOL.

Apart from stripping all \r from the file before processing it, what
good options are there? Do I have to inspect the data char-by-char, or
is there a better way?

Thanks,

Morten