<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<!--NewPage-->
<html>
<head>
<!-- Generated by javadoc on Wed Jul 28 01:21:15 GMT 1999 -->
<title>
  Class java.io.PipedWriter
</title>
</head>
<body>
<a name="_top_"></a>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.io.html">This Package</a>  <a href="java.io.PipedReader.html#_top_">Previous</a>  <a href="java.io.PrintStream.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
<hr>
<h1>
  Class java.io.PipedWriter
</h1>
<pre>
<a href="java.lang.Object.html#_top_">java.lang.Object</a>
   |
   +----<a href="java.io.Writer.html#_top_">java.io.Writer</a>
           |
           +----java.io.PipedWriter
</pre>
<hr>
<dl>
  <dt> public class <b>PipedWriter</b>
  <dt> extends <a href="java.io.Writer.html#_top_">Writer</a>
</dl>
Piped character-output streams.
<p>
<hr>
<a name="index"></a>
<h2>
  <img src="images/constructor-index.gif" width=275 height=38 alt="Constructor Index">
</h2>
<dl>
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#PipedWriter()"><b>PipedWriter</b></a>()
  <dd>  Create a writer that is not yet connected to a piped reader.
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#PipedWriter(java.io.PipedReader)"><b>PipedWriter</b></a>(PipedReader)
  <dd>  Create a writer for the specified piped character-input stream.
</dl>
<h2>
  <img src="images/method-index.gif" width=207 height=38 alt="Method Index">
</h2>
<dl>
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#close()"><b>close</b></a>()
  <dd>  Close the stream.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#connect(java.io.PipedReader)"><b>connect</b></a>(PipedReader)
  <dd>  Connect the specified piped reader to this writer.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#flush()"><b>flush</b></a>()
  <dd>  Flush the stream.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#write(char[], int, int)"><b>write</b></a>(char[], int, int)
  <dd>  Write a portion of an array of characters.
</dl>
<a name="constructors"></a>
<h2>
  <img src="images/constructors.gif" width=231 height=38 alt="Constructors">
</h2>
<a name="PipedWriter"></a>
<a name="PipedWriter()"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>PipedWriter</b>
<pre>
 public PipedWriter()
</pre>
<dl>
  <dd> Create a writer that is not yet connected to a piped reader.
<p>
</dl>
<a name="PipedWriter(java.io.PipedReader)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>PipedWriter</b>
<pre>
 public PipedWriter(<a href="java.io.PipedReader.html#_top_">PipedReader</a> sink) throws <a href="java.io.IOException.html#_top_">IOException</a>
</pre>
<dl>
  <dd> Create a writer for the specified piped character-input stream.
<p>
</dl>
<a name="methods"></a>
<h2>
  <img src="images/methods.gif" width=151 height=38 alt="Methods">
</h2>
<a name="connect(java.io.PipedReader)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="connect"><b>connect</b></a>
<pre>
 public void connect(<a href="java.io.PipedReader.html#_top_">PipedReader</a> sink) throws <a href="java.io.IOException.html#_top_">IOException</a>
</pre>
<dl>
  <dd> Connect the specified piped reader to this writer.
<p>
</dl>
<a name="write(char[], int, int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="write"><b>write</b></a>
<pre>
 public void write(char cbuf[],
                   int off,
                   int len) throws <a href="java.io.IOException.html#_top_">IOException</a>
</pre>
<dl>
  <dd> Write a portion of an array of characters.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> cbuf - Array of characters
    <dd> off - Offset from which to start writing characters
    <dd> len - Number of characters to write
    <dt> <b>Throws:</b> <a href="java.io.IOException.html#_top_">IOException</a>
    <dd> If an I/O error occurs
    <dt> <b>Overrides:</b>
    <dd> <a href="java.io.Writer.html#write(char[], int, int)">write</a> in class <a href="java.io.Writer.html#_top_">Writer</a>
  </dl></dd>
</dl>
<a name="flush()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="flush"><b>flush</b></a>
<pre>
 public void flush() throws <a href="java.io.IOException.html#_top_">IOException</a>
</pre>
<dl>
  <dd> Flush the stream.
<p>
  <dd><dl>
    <dt> <b>Throws:</b> <a href="java.io.IOException.html#_top_">IOException</a>
    <dd> If an I/O error occurs
    <dt> <b>Overrides:</b>
    <dd> <a href="java.io.Writer.html#flush()">flush</a> in class <a href="java.io.Writer.html#_top_">Writer</a>
  </dl></dd>
</dl>
<a name="close()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="close"><b>close</b></a>
<pre>
 public void close() throws <a href="java.io.IOException.html#_top_">IOException</a>
</pre>
<dl>
  <dd> Close the stream.
<p>
  <dd><dl>
    <dt> <b>Throws:</b> <a href="java.io.IOException.html#_top_">IOException</a>
    <dd> If an I/O error occurs
    <dt> <b>Overrides:</b>
    <dd> <a href="java.io.Writer.html#close()">close</a> in class <a href="java.io.Writer.html#_top_">Writer</a>
  </dl></dd>
</dl>
<hr>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.io.html">This Package</a>  <a href="java.io.PipedReader.html#_top_">Previous</a>  <a href="java.io.PrintStream.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
</body>
</html>
