java.io.DataOutput (JDK 1.0)
This interface defines the methods required for streams that can write character data or Java primitive data types in a machine-independent binary format. It is implemented by DataOutputStream and RandomAccessFile. See DataOutputStream for more information on the methods.
public abstract interfaceDataOutput{ //Public Instance Methodspublic abstract voidwrite(intb) throws IOException; public abstract voidwrite(byte[]b) throws IOException; public abstract voidwrite(byte[]b, intoff, intlen) throws IOException; public abstract voidwriteBoolean(booleanv) throws IOException; public abstract voidwriteByte(intv) throws IOException; public abstract voidwriteBytes(Strings) throws IOException; public abstract voidwriteChar(intv) throws IOException; public abstract voidwriteChars(Strings) throws IOException; public abstract voidwriteDouble(doublev) throws IOException; public abstract voidwriteFloat(floatv) throws IOException; public abstract voidwriteInt(intv) throws IOException; public abstract voidwriteLong(longv) throws IOException; public abstract voidwriteShort(intv) throws IOException; public abstract voidwriteUTF(Stringstr) throws IOException; }
Extended By:
ObjectOutput
Implemented By:
DataOutputStream, RandomAccessFile