eu.geclipse.core.io
Class PipedInputStream
java.lang.Object
java.io.InputStream
eu.geclipse.core.io.PipedInputStream
- All Implemented Interfaces:
- java.io.Closeable
public class PipedInputStream
- extends java.io.InputStream
Repacement for PipedInputStream.
(because of Java bug nr. 4404700)
| Methods inherited from class java.io.InputStream |
mark, markSupported, read, reset, skip |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PipedInputStream
public PipedInputStream(PipedOutputStream out)
throws java.io.IOException
- Parameters:
out - instance of the replacement PipedOutputStream implementation
- Throws:
java.io.IOException - not thrown, for API compatibility to
java.io.PipedInputStream- See Also:
PipedInputStream.PipedInputStream(java.io.PipedOutputStream)
PipedInputStream
public PipedInputStream()
- See Also:
PipedInputStream.PipedInputStream()
connect
public void connect(PipedOutputStream out)
throws java.io.IOException
- Parameters:
out - instance of the replacement PipedOutputStream implementation
- Throws:
java.io.IOException - not thrown, for API compatibility to
java.io.PipedInputStream- See Also:
PipedInputStream.connect(java.io.PipedOutputStream)
read
public int read()
throws java.io.IOException
- Specified by:
read in class java.io.InputStream
- Throws:
java.io.IOException
read
public int read(byte[] b,
int offset,
int length)
throws java.io.IOException
- Overrides:
read in class java.io.InputStream
- Throws:
java.io.IOException
available
public int available()
- Overrides:
available in class java.io.InputStream
close
public void close()
- Specified by:
close in interface java.io.Closeable- Overrides:
close in class java.io.InputStream