com.mindbright.util
Class InputStreamPipe
java.lang.Object
java.io.InputStream
com.mindbright.util.InputStreamPipe
- public final class InputStreamPipe
- extends java.io.InputStream
Methods inherited from class java.io.InputStream |
mark, markSupported, read, reset, skip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InputStreamPipe
public InputStreamPipe(int bufferSize)
InputStreamPipe
public InputStreamPipe()
InputStreamPipe
public InputStreamPipe(OutputStreamPipe source)
throws java.io.IOException
connect
public void connect(OutputStreamPipe source)
throws java.io.IOException
- Throws:
java.io.IOException
read
public int read()
throws java.io.IOException
- Throws:
java.io.IOException
read
public int read(byte[] buf,
int off,
int len)
throws java.io.IOException
- Throws:
java.io.IOException
available
public int available()
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException
flush
public void flush()
put
protected void put(int b)
throws java.io.IOException
- Throws:
java.io.IOException
put
protected void put(byte[] buf,
int off,
int len)
throws java.io.IOException
- Throws:
java.io.IOException
eof
protected void eof()