22.21
java.io.DataOutputStream
THE PACKAGE JAVA.IO
22.21 The Class
java.io.DataOutputStream
A data output stream provides facilities for converting data of diverse types into
character sequence of specific formats that are then sent to some output stream.
public class DataOutputStream extends FilterOutputStream
implements DataOutput {
protected int written;
public DataOutputStream(OutputStream out);
public void write(int b) throws IOException;
public void write(byte[] b, int off, int len)
throws IOException, NullPointerException,
IndexOutOfBoundsException;
public void flush() throws IOException;
public final void writeBoolean(boolean v) throws IOException;
public final void writeByte(int v) throws IOException;
public final void writeShort(int v) throws IOException;
public final void writeChar(int v) throws IOException;
public final void writeInt(int v) throws IOException;
public final void writeLong(long v) throws IOException;
public final void writeFloat(float v) throws IOException;
public final void writeDouble(double v) throws IOException;
public final void writeBytes(String s)
throws IOException, NullPointerException;
public final void writeChars(String s)
throws IOException, NullPointerException;
public final void writeUTF(String str)
throws IOException, NullPointerException;
public final int size();
}
22.21.1
protected int written;
This field contains the number of bytes written to the stream so far.
22.21.2
public DataOutputStream(OutputStream out)
This constructor initializes a newly created
DataOutputStream
 by saving its
argument, the output stream
out
, for later use. The counter
written
 is set to zero.
734






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