public class RBufferedReader extends BufferedReader
readLine() is not useful for the calling code, it can be re-inserted in the
stream. The same line will be returned again at the next readLine() call.| Constructor and Description |
|---|
RBufferedReader(Reader in)
It builds the reader.
|
| Modifier and Type | Method and Description |
|---|---|
String |
readLine()
It returns the next line in the stream.
|
void |
reinsertLine(String line)
Reinserts a line in the stream.
|
close, lines, mark, markSupported, read, read, ready, reset, skippublic RBufferedReader(Reader in)
in - The underlying reader.public String readLine() throws IOException
readLine in class BufferedReaderIOExceptionpublic void reinsertLine(String line)
readLine() call.line - The line.Copyright © 2020. All rights reserved.