22.22
java.io.PrintStream
THE PACKAGE JAVA.IO
operation on the contained output stream throws an
InterruptedIOException
,
then the
PrintStream
class converts the exception back to an interrupt by doing:
Thread.currentThread().interrupt();
or the equivalent.
22.22.8
public void print(Object obj)
The low order bytes of the characters in the
String
that would be produced by
String.valueOf(obj)
( 20.12.38) are written, in order, to the contained output
stream in exactly the manner of the
write
method ( 22.22.3).
22.22.9
public void print(String s)
The low order bytes of the characters in the string
s
are written, in order, to the
contained output stream in exactly the manner of the
write
method ( 22.22.3).
If
s
is
null
, then the low order bytes of the four characters
n
,
u
,
l
,
l
are written to
the contained output stream.
22.22.10
public void print(char[] s) throws NullPointerException
The low order bytes of the characters in the character array
s
are written, in order,
to the contained output stream in exactly the manner of the
write
method
( 22.22.3).
If
s
is
null
, a
NullPointerException
is thrown.
22.22.11
public void print(boolean b)
The low order bytes of the characters in the
String
that would be produced by
String.valueOf(b)
( 20.12.41) as a string are written, in order, to the contained
output stream in exactly the manner of the
write
method ( 22.22.3).
22.22.12
public void print(char c)
The low order byte of the character
c
is written to the contained output stream in
exactly the manner of the
write
method ( 22.22.3).
740
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