Java Files  «Prev 


DataInputStream and DataOutputStreams Methods

public native int read() throws IOException

public int read(byte b[], int offset, int length) throws IOException
 
public int read(byte b[]) throws IOException

public final void readFully(byte b[]) throws IOException

public final void readFully (byte b[], int offset, int length)
 throws IOException
 
public native void write(int b) throws IOException

public void write(byte b[]) throws IOException

public void write(byte b[], int offset, int length) throws IOException
 
public final boolean readBoolean() throws IOException

Java I/O
public final byte readByte()  throws IOException

public final int readUnsignedByte() throws IOException

public final short readShort() throws IOException

public final int readUnsignedShort() throws IOException

public final char readChar() throws IOException

public final int readInt() throws IOException

public final long readLong() throws IOException

public final float readFloat() throws IOException

public final double readDouble() throws IOException

public final String readLine() throws IOException

public final String readUTF() 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

public final void writeChars(String s) throws IOException

public final void writeUTF(String s) throws IOException