Package com.singularsys.compatibility
Class BufferedReader
java.lang.Object
java.io.Reader
com.singularsys.compatibility.BufferedReader
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Readable
Minimal implementation of the
java.io.BufferedReader
.
Current implementation implements the readLine()
method
but does not actually buffer the input.-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class java.io.Reader
mark, markSupported, nullReader, read, read, read, ready, reset, skip, transferTo
-
Constructor Details
-
BufferedReader
-
-
Method Details
-
readLine
- Throws:
IOException
-
read
public int read(char[] cbuf, int off, int len) -
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classReader
- Throws:
IOException
-