public final class SynchronousLineReader extends Object implements LineReader
LineReader that reads lines directly from the underlying stream or reader.| Constructor and Description |
|---|
SynchronousLineReader(InputStream stream) |
SynchronousLineReader(Reader reader) |
public SynchronousLineReader(InputStream stream)
public SynchronousLineReader(Reader reader)
public String readLine()
readLine in interface LineReaderpublic void close()
close in interface LineReaderclose in interface Closeableclose in interface AutoCloseable