API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.io. PipedWriter View Source
Author(s)
Mark Reinhold
Since
JDK1.1
Version
1.19, 06/06/28
Serial
Hierarchy
 Object
      Writer
          PipedWriter
Implements
Subclasses
Description
public class PipedWriter
  Piped character-output streams.
See also:   
Constructors
public PipedWriter ()
  Creates a piped writer that is not yet connected to a piped reader.
public PipedWriter (PipedReader snk) throws IOException
  Creates a piped writer connected to the specified piped reader.
Methods
Hide/Show inherited methods
public Writer append (char c) throws IOException [Inherited From Writer]
  Appends the specified character to this writer.
public Writer append (CharSequence csq) throws IOException [Inherited From Writer]
  Appends the specified character sequence to this writer.
public Writer append (CharSequence csq, int start, int end) throws IOException [Inherited From Writer]
  Appends a subsequence of the specified character sequence to this writer.
public void close () throws IOException [Specified in Writer]
  Closes this piped output stream and releases any system resources associated with this stream.
publicsynchronized void connect (PipedReader snk) throws IOException
  Connects this piped writer to a receiver.
publicsynchronized void flush () throws IOException [Specified in Writer]
  Flushes this output stream and forces any buffered output characters to be written out.
public void write (char[] cbuf) throws IOException [Inherited From Writer]
  Writes an array of characters.
public void write (char[] cbuf, int off, int len) throws IOException [Specified in Writer]
  Writes len characters from the specified character array starting at offset off to this piped output stream.
public void write (int c) throws IOException [Overrides Writer]
  Writes the specified char to the piped output stream.
public void write (String str) throws IOException [Inherited From Writer]
  Writes a string.
public void write (String str, int off, int len) throws IOException [Inherited From Writer]
  Writes a portion of a string.
Fields
Hide/Show inherited fields
protected Object lock [Inherited From Writer]
  The object used to synchronize operations on this stream.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar