1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
// java.io.DataOutput
// An implementation of the Java Language Specification section 22.2
// Written by Charles Briscoe-Smith; refer to the file LEGAL for details.
package java.io;
public interface DataOutput {
public void write(int b) throws IOException;
public void write(byte[] b)
throws IOException, NullPointerException;
public void write(byte[] b, int off, int len)
throws IOException, NullPointerException,
IndexOutOfBoundsException;
public void writeBoolean(boolean v) throws IOException;
public void writeByte(int v) throws IOException;
public void writeShort(int v) throws IOException;
public void writeChar(int v) throws IOException;
public void writeInt(int v) throws IOException;
public void writeLong(long v) throws IOException;
public void writeFloat(float v) throws IOException;
public void writeDouble(double v) throws IOException;
public void writeBytes(String s)
throws IOException, NullPointerException;
public void writeChars(String s)
throws IOException, NullPointerException;
public void writeUTF(String s)
throws IOException, NullPointerException;
}
|