public PipedOutputStream (PipedInputStream snk) throws IOException

Creates a piped output stream connected to the specified piped input stream. Data bytes written to this stream will then be available as input from snk.

Parameters:
snk    The piped input stream to connect to.

Exceptions:
IOException    if an I/O error occurs.