Java in a Nutshell Online Quick Reference for Java 1.1
Availability: JDK 1.0
public class RandomAccessFile extends Object implements DataOutput, DataInput { // Public Constructors public RandomAccessFile(String name, String mode) throws IOException; public RandomAccessFile(File file, String mode) throws IOException; // Public Instance Methods public native void close() throws IOException; public final FileDescriptor getFD() throws IOException; public native long getFilePointer() throws IOException; public native long length() throws IOException; public native int read() throws IOException; public int read(byte[] b, int off, int len) throws IOException; public int read(byte[] b) throws IOException; public final boolean readBoolean() throws IOException; public final byte readByte() throws IOException; public final char readChar() throws IOException; public final double readDouble() throws IOException; public final float readFloat() throws IOException; public final void readFully(byte[] b) throws IOException; public final void readFully(byte[] b, int off, int len) throws IOException; public final int readInt() throws IOException; public final String readLine() throws IOException; public final long readLong() throws IOException; public final short readShort() throws IOException; public final String readUTF() throws IOException; public final int readUnsignedByte() throws IOException; public final int readUnsignedShort() throws IOException; public native void seek(long pos) throws IOException; public int skipBytes(int n) throws IOException; public native void write(int b) throws IOException; public void write(byte[] b) throws IOException; public void write(byte[] b, int off, int len) throws IOException; public final void writeBoolean(boolean v) throws IOException; public final void writeByte(int v) throws IOException; public final void writeBytes(String s) throws IOException; public final void writeChar(int v) throws IOException; public final void writeChars(String s) throws IOException; public final void writeDouble(double v) throws IOException; public final void writeFloat(float v) throws IOException; public final void writeInt(int v) throws IOException; public final void writeLong(long v) throws IOException; public final void writeShort(int v) throws IOException; public final void writeUTF(String str) throws IOException; }