Package org.lobobrowser.html.io
Class WritableLineReader
- java.lang.Object
-
- java.io.Reader
-
- java.io.BufferedReader
-
- java.io.LineNumberReader
-
- org.lobobrowser.html.io.WritableLineReader
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,java.lang.Readable
public class WritableLineReader extends java.io.LineNumberReader
-
-
Constructor Summary
Constructors Constructor Description WritableLineReader(java.io.Reader reader)WritableLineReader(java.io.Reader reader, int bufferSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()intread()intread(char[] b, int off, int len)booleanready()voidwrite(java.lang.String text)Note: Not implicitly thread safe.
-
-
-
Method Detail
-
read
public int read() throws java.io.IOException- Overrides:
readin classjava.io.LineNumberReader- Throws:
java.io.IOException
-
read
public int read(char[] b, int off, int len) throws java.io.IOException- Overrides:
readin classjava.io.LineNumberReader- Throws:
java.io.IOException
-
ready
public boolean ready() throws java.io.IOException- Overrides:
readyin classjava.io.BufferedReader- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Overrides:
closein classjava.io.BufferedReader- Throws:
java.io.IOException
-
write
public void write(java.lang.String text) throws java.io.IOExceptionNote: Not implicitly thread safe.- Parameters:
text-- Throws:
java.io.IOException
-
-