THE PACKAGE JAVA.IO
java.io.OutputStream
22.15
If
off
 is negative, or
len
 is negative, or
off+len
 is greater than the length of
the array
b
, then an
IndexOutOfBoundsException
 is thrown.
If the byte cannot be written for any reason, an
IOException
 is thrown. In
particular, an
IOException
 is thrown if the output stream has been closed
( 22.15.5).
The
write(b, off, len)
 method for class
OutputStream
 simply calls the
method
write
 ( 22.15.1) repeatedly, once for each byte in
b
 to be written.
22.15.4
public void flush() throws IOException
The general contract of
flush
 is that calling it is an indication that, if any bytes
previously written have been buffered by the implementation of the output stream,
such bytes should immediately be written to their intended destination.
The
flush
 method for class
OutputStream
 does nothing and simply returns.
22.15.5
public void close() throws IOException
The general contract of
close
 is that it closes the output stream. A closed stream
cannot perform output operations and cannot be reopened.
The
close
 method for class
OutputStream
 does nothing and simply returns.
721






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

java hosting

 

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