Package org.loboevolution.html.io
Class WritableLineReader
java.lang.Object
java.io.Reader
java.io.BufferedReader
java.io.LineNumberReader
org.loboevolution.html.io.WritableLineReader
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Readable
- Direct Known Subclasses:
LocalWritableLineReader
WritableLineReader class.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionWritableLineReader
(Reader reader) Constructor for WritableLineReader.WritableLineReader
(Reader reader, int bufferSize) Constructor for WritableLineReader. -
Method Summary
Methods inherited from class java.io.LineNumberReader
getLineNumber, mark, readLine, reset, setLineNumber, skip
Methods inherited from class java.io.BufferedReader
lines, markSupported
Methods inherited from class java.io.Reader
nullReader, read, read, transferTo
-
Constructor Details
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classBufferedReader
- Throws:
IOException
-
read
- Overrides:
read
in classLineNumberReader
- Throws:
IOException
-
read
- Overrides:
read
in classLineNumberReader
- Throws:
IOException
-
ready
- Overrides:
ready
in classBufferedReader
- Throws:
IOException
-
write
Note: Not implicitly thread safe.- Parameters:
text
- aString
object.- Throws:
IOException
- if any.
-