S
sky_diver_
I use BufferedReader.readLine to process customer's text files.
Occasionally, I get files that terminate each line with CR+CR+LF (two
carriage returns and a linefeed). Every text editor I use treats this a
valid line terminater and displays it as a single line, but the
BufferedReader.readLine method sees each line as two lines.
Would wrapping an InputStreamReader within the BufferedReader be the
best way to get around this problem?
Occasionally, I get files that terminate each line with CR+CR+LF (two
carriage returns and a linefeed). Every text editor I use treats this a
valid line terminater and displays it as a single line, but the
BufferedReader.readLine method sees each line as two lines.
Would wrapping an InputStreamReader within the BufferedReader be the
best way to get around this problem?