API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.io. PipedOutputStream View Source
Author(s)
James Gosling
Since
JDK1.0
Version
1.28, 06/07/06
Serial
Hierarchy
 Object
      OutputStream
          PipedOutputStream
Implements
Subclasses
Description
public class PipedOutputStream
  A piped output stream can be connected to a piped input stream to create a communications pipe.
See also:    PipedInputStream
Constructors
public PipedOutputStream ()
  Creates a piped output stream that is not yet connected to a piped input stream.
public PipedOutputStream (PipedInputStream snk) throws IOException
  Creates a piped output stream connected to the specified piped input stream.
Methods
Hide/Show inherited methods
public void close () throws IOException [Overrides OutputStream]
  Closes this piped output stream and releases any system resources associated with this stream.
publicsynchronized void connect (PipedInputStream snk) throws IOException
  Connects this piped output stream to a receiver.
publicsynchronized void flush () throws IOException [Overrides OutputStream]
  Flushes this output stream and forces any buffered output bytes to be written out.
public void write (byte[] b) throws IOException [Inherited From OutputStream]
  Writes b.length bytes from the specified byte array to this output stream.
public void write (byte[] b, int off, int len) throws IOException [Overrides OutputStream]
  Writes len bytes from the specified byte array starting at offset off to this piped output stream.
public void write (int b) throws IOException [Specified in OutputStream]
  Writes the specified byte to the piped output stream.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar