THE PACKAGE JAVA.IO
java.io.DataOutputStream
22.21
22.21.15
public final void writeChars(String s)
throws IOException, NullPointerException,
IndexOutOfBoundsException
See the general contract of the
writeChars
method of
DataOutput
( 22.2.13).
Bytes for this operation are written to the contained output stream. If no
exception is thrown, the counter
written
is incremented by twice the length of
s
.
22.21.16
public final void writeUTF(String str)
throws IOException, NullPointerException,
IndexOutOfBoundsException
See the general contract of the
writeUTF
method of
DataOutput
( 22.2.14).
Bytes for this operation are written to the contained output stream. If no
exception is thrown, the counter
written
is incremented by the total number of
bytes written to the output stream. This will be at least two plus the length of
s
,
and at most two plus thrice the length of
s
.
22.21.17
public final int size()
The
size
method returns the current value of the counter
written
, the number of
bytes written to the stream so far.
737
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