THE PACKAGE JAVA.IO
java.io.DataOutputStream
22.21
22.21.3
public void write(int b) throws IOException
The byte for this operation (the low eight bits of the argument
b
) is written to the
contained output stream. If no exception is thrown, the counter
written
is incre
mented by
1
.
Implements the
write
method of
OutputStream
( 22.15.1).
22.21.4
public void write(byte[] b, int off, int len)
throws IOException, NullPointerException,
IndexOutOfBoundsException
Bytes for this operation are written to the contained output stream. If no exception
is thrown, the counter
written
is incremented by
len
.
Overrides the
write
method of
OutputStream
( 22.15.3).
22.21.5
public void flush() throws IOException
The contained output stream is flushed.
Overrides the
flush
method of
OutputStream
( 22.15.4).
22.21.6
public final void writeBoolean(boolean v)
throws IOException
See the general contract of the
writeBoolean
method of
DataOutput
( 22.2.4).
The byte for this operation is written to the contained output stream. If no
exception is thrown, the counter
written
is incremented by
1
.
22.21.7
public final void writeByte(int v) throws IOException
See the general contract of the
writeByte
method of
DataOutput
( 22.2.5).
The byte for this operation is written to the contained output stream. If no
exception is thrown, the counter
written
is incremented by
1
.
22.21.8
public final void writeShort(int v) throws IOException
See the general contract of the
writeShort
method of
DataOutput
( 22.2.6).
Bytes for this operation are written to the contained output stream. If no
exception is thrown, the counter
written
is incremented by
2
.
735
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