Class BufferedLineReader

All Implemented Interfaces:
LineReader, Closeable, AutoCloseable, Readable
Direct Known Subclasses:
StringLineReader

public class BufferedLineReader extends LineNumberReader implements LineReader
Implementation of LineReader that is a thin wrapper around BufferedReader. On Linux, this is faster than AsciiLineReaderImpl. If you use AsciiLineReader rather than this class, it will detect the OS and delegate to the preferred implementation.
  • Constructor Details

    • BufferedLineReader

      public BufferedLineReader(InputStream is)
    • BufferedLineReader

      public BufferedLineReader(InputStream is, int bufferSize)
  • Method Details