22.17
java.io.PipedOutputStream
THE PACKAGE JAVA.IO
If
snk
is an unconnected piped input stream and
src
is an unconnected piped
output stream, they may be connected by either the call:
src.connect(snk)
or the call:
snk.connect(src)
The two calls have the same effect.
22.17.4
public void write(int b) throws IOException
If a thread was reading data bytes from the connected piped input stream, but the
thread is no longer alive, then an
IOException
is thrown.
Implements the
write
method of
OutputStream
( 22.15.1).
22.17.5
public void write(byte[] b, int off, int len)
throws IOException, NullPointerException,
IndexOutOfBoundsException
If a thread was reading data bytes from the connected piped input stream, but the
thread is no longer alive, then an
IOException
is thrown.
Overrides the
write
method of
OutputStream
( 22.15.3).
22.17.6
public void close() throws IOException
This piped output stream is closed and may no longer be used for writing bytes.
Overrides the
close
method of
OutputStream
( 22.15.5).
726
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Inexpensive Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Jsp Hosting
Cheap Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved