Packages This Package Prev Next Index
public class java.io.PipedOutputStream extends java.io.OutputStream (I-§2.15) { // Constructors public PipedOutputStream(); §2.17.1 public PipedOutputStream(PipedInputStream snk); §2.17.2 // Methods public void close(); §2.17.3 public void connect(PipedInputStream snk); §2.17.4 public void write(byte b[], int off, int len); §2.17.5 public void write(int b); §2.17.6 }A piped output stream is the sending end a communications pipe. Two threads can communicate by having one thread send data through a piped output stream (I-§2.16) and having the other thread read the data through a piped input stream.
public PipedOutputStream()
public PipedOutputStream(PipedInputStream snk)
throws IOException
snk
-
The piped input stream to connect to.
public void close()
throws IOException
public void connect(PipedInputStream snk)
throws IOException
snk
-
The piped output stream to connect to.
public void write(byte b[], int off, int len)
throws IOException
b
-
the data
off
-
the start offset in the data
len
-
the number of bytes to write
public void write(int b)
throws IOException
b
-
the byte to be written
Packages This Package Prev Next IndexJava API Document (HTML generated by dkramer on April 22, 1996)