org.lobobrowser.html.io
Class WritableLineReader

java.lang.Object
  extended by java.io.Reader
      extended by java.io.BufferedReader
          extended by java.io.LineNumberReader
              extended by org.lobobrowser.html.io.WritableLineReader
All Implemented Interfaces:
java.io.Closeable, java.lang.Readable

public class WritableLineReader
extends java.io.LineNumberReader


Field Summary
 
Fields inherited from class java.io.Reader
lock
 
Constructor Summary
WritableLineReader(java.io.Reader reader)
           
WritableLineReader(java.io.Reader reader, int bufferSize)
           
 
Method Summary
 void close()
           
 int read()
           
 int read(char[] b, int off, int len)
           
 boolean ready()
           
 void write(java.lang.String text)
          Note: Not implicitly thread safe.
 
Methods inherited from class java.io.LineNumberReader
getLineNumber, mark, readLine, reset, setLineNumber, skip
 
Methods inherited from class java.io.BufferedReader
markSupported
 
Methods inherited from class java.io.Reader
read, read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WritableLineReader

public WritableLineReader(java.io.Reader reader,
                          int bufferSize)

WritableLineReader

public WritableLineReader(java.io.Reader reader)
Method Detail

read

public int read()
         throws java.io.IOException
Overrides:
read in class java.io.LineNumberReader
Throws:
java.io.IOException

read

public int read(char[] b,
                int off,
                int len)
         throws java.io.IOException
Overrides:
read in class java.io.LineNumberReader
Throws:
java.io.IOException

ready

public boolean ready()
              throws java.io.IOException
Overrides:
ready in class java.io.BufferedReader
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Specified by:
close in interface java.io.Closeable
Overrides:
close in class java.io.BufferedReader
Throws:
java.io.IOException

write

public void write(java.lang.String text)
           throws java.io.IOException
Note: Not implicitly thread safe.

Parameters:
text -
Throws:
java.io.IOException