org.concord.util
Class TextInputStream

java.lang.Object
  |
  +--java.io.InputStream
        |
        +--org.concord.util.TextInputStream

public class TextInputStream
extends java.io.InputStream


Field Summary
protected  TextReader reader
           
 
Constructor Summary
TextInputStream(javax.swing.JTextArea ta)
           
 
Method Summary
 int available()
           
 java.io.Reader getReader()
           
 int read()
           
 int read(byte[] b)
           
 int read(byte[] b, int off, int len)
           
 
Methods inherited from class java.io.InputStream
close, mark, markSupported, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

reader

protected TextReader reader
Constructor Detail

TextInputStream

public TextInputStream(javax.swing.JTextArea ta)
Method Detail

getReader

public java.io.Reader getReader()

available

public int available()
              throws java.io.IOException
Overrides:
available in class java.io.InputStream

read

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

read

public int read(byte[] b)
         throws java.io.IOException
Overrides:
read in class java.io.InputStream

read

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