CTL.Streams
Class PipedInputDream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.PipedInputStream
          extended by CTL.Streams.PipedInputDream
All Implemented Interfaces:
java.io.Closeable

public class PipedInputDream
extends java.io.PipedInputStream

Hack for PipedInputStream's flaws


Field Summary
 
Fields inherited from class java.io.PipedInputStream
buffer, in, out, PIPE_SIZE
 
Constructor Summary
PipedInputDream(java.io.PipedOutputStream src)
           
 
Method Summary
protected  void awaitSpace()
           
 
Methods inherited from class java.io.PipedInputStream
available, close, connect, read, read, receive
 
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
 

Constructor Detail

PipedInputDream

public PipedInputDream(java.io.PipedOutputStream src)
                throws java.io.IOException
Throws:
java.io.IOException
Method Detail

awaitSpace

protected void awaitSpace()
                   throws java.io.IOException
Throws:
java.io.IOException