PipedWriter
public
class
PipedWriter
extends Writer
| java.lang.Object | ||
| ↳ | java.io.Writer | |
| ↳ | java.io.PipedWriter | |
Piped character-output streams.
Summary
Inherited fields |
|---|
Public constructors | |
|---|---|
PipedWriter()
Creates a piped writer that is not yet connected to a piped reader. |
|
PipedWriter(PipedReader snk)
Creates a piped writer connected to the specified piped reader. |
|
Public methods | |
|---|---|
void
|
close()
Closes this piped output stream and releases any system resources associated with this stream. |
void
|
connect(PipedReader snk)
Connects this piped writer to a receiver. |
void
|
flush()
Flushes this output stream and forces any buffered output characters to be written out. |
void
|
write(int c)
Writes the specified |
void
|
write(char[] cbuf, int off, int len)
Writes |
Inherited methods | |
|---|---|