Class UnifiedNewlineReader

java.lang.Object
java.io.Reader
com.maroontress.clione.impl.AbstractReader
com.maroontress.clione.impl.UnifiedNewlineReader
All Implemented Interfaces:
Closeable, AutoCloseable, Readable

public final class UnifiedNewlineReader extends AbstractReader
This reader substitutes '\n' for all newlines (LF, CRLF, and CR) in the stream, even if different newlines are mixed in the stream.

Note that the LexicalParser uses '\n' as the newline character.