public class RandomAccessFile extends Object implements DataOutput, DataInput
| Constructor and Description | 
|---|
| RandomAccessFile(File file,
                String s) | 
| RandomAccessFile(String s,
                String s1) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close() | 
| FileDescriptor | getFD() | 
| long | getFilePointer() | 
| long | length() | 
| int | read() | 
| int | read(byte[] abyte0) | 
| int | read(byte[] abyte0,
    int i,
    int j) | 
| boolean | readBoolean() | 
| byte | readByte() | 
| char | readChar() | 
| double | readDouble() | 
| float | readFloat() | 
| void | readFully(byte[] abyte0) | 
| void | readFully(byte[] abyte0,
         int i,
         int j) | 
| int | readInt() | 
| String | readLine() | 
| long | readLong() | 
| short | readShort() | 
| int | readUnsignedByte() | 
| int | readUnsignedShort() | 
| String | readUTF() | 
| void | seek(long l) | 
| void | setLength(long newLength) | 
| int | skipBytes(int i) | 
| void | write(byte[] abyte0) | 
| void | write(byte[] abyte0,
     int i,
     int j) | 
| void | write(int i) | 
| void | writeBoolean(boolean flag) | 
| void | writeByte(int i) | 
| void | writeBytes(String s) | 
| void | writeChar(int i) | 
| void | writeChars(String s) | 
| void | writeDouble(double d) | 
| void | writeFloat(float f) | 
| void | writeInt(int i) | 
| void | writeLong(long l) | 
| void | writeShort(int i) | 
| void | writeUTF(String s) | 
public RandomAccessFile(File file, String s) throws IOException
file - ?s - ?IOException - ?public RandomAccessFile(String s, String s1) throws IOException
s - ?s1 - ?IOException - ?public void close()
           throws IOException
IOException - ?public final FileDescriptor getFD() throws IOException
IOException - ?public long getFilePointer()
                    throws IOException
IOException - ?public long length()
            throws IOException
IOException - ?public int read()
         throws IOException
IOException - ?public int read(byte[] abyte0)
         throws IOException
abyte0 - ?IOException - ?public int read(byte[] abyte0,
                int i,
                int j)
         throws IOException
abyte0 - ?i - ?j - ?IOException - ?public final boolean readBoolean()
                          throws IOException
readBoolean in interface DataInputIOException - ?public final byte readByte()
                    throws IOException
readByte in interface DataInputIOException - ?public final char readChar()
                    throws IOException
readChar in interface DataInputIOException - ?public final double readDouble()
                        throws IOException
readDouble in interface DataInputIOException - ?public final float readFloat()
                      throws IOException
readFloat in interface DataInputIOException - ?public final void readFully(byte[] abyte0)
                     throws IOException
readFully in interface DataInputabyte0 - ?IOException - ?public final void readFully(byte[] abyte0,
                            int i,
                            int j)
                     throws IOException
readFully in interface DataInputabyte0 - ?i - ?j - ?IOException - ?public final int readInt()
                  throws IOException
readInt in interface DataInputIOException - ?public final String readLine() throws IOException
readLine in interface DataInputIOException - ?public final long readLong()
                    throws IOException
readLong in interface DataInputIOException - ?public final short readShort()
                      throws IOException
readShort in interface DataInputIOException - ?public final String readUTF() throws IOException
readUTF in interface DataInputIOException - ?public final int readUnsignedByte()
                           throws IOException
readUnsignedByte in interface DataInputIOException - ?public final int readUnsignedShort()
                            throws IOException
readUnsignedShort in interface DataInputIOException - ?public void seek(long l)
          throws IOException
l - ?IOException - ?public void setLength(long newLength)
               throws IOException
newLength - ?IOException - ?public int skipBytes(int i)
              throws IOException
skipBytes in interface DataInputi - ?IOException - ?public void write(int i)
           throws IOException
write in interface DataOutputi - ?IOException - ?public void write(byte[] abyte0)
           throws IOException
write in interface DataOutputabyte0 - ?IOException - ?public void write(byte[] abyte0,
                  int i,
                  int j)
           throws IOException
write in interface DataOutputabyte0 - ?i - ?j - ?IOException - ?public final void writeBoolean(boolean flag)
                        throws IOException
writeBoolean in interface DataOutputflag - ?IOException - ?public final void writeByte(int i)
                     throws IOException
writeByte in interface DataOutputi - ?IOException - ?public final void writeBytes(String s) throws IOException
writeBytes in interface DataOutputs - ?IOException - ?public final void writeChar(int i)
                     throws IOException
writeChar in interface DataOutputi - ?IOException - ?public final void writeChars(String s) throws IOException
writeChars in interface DataOutputs - ?IOException - ?public final void writeDouble(double d)
                       throws IOException
writeDouble in interface DataOutputd - ?IOException - ?public final void writeFloat(float f)
                      throws IOException
writeFloat in interface DataOutputf - ?IOException - ?public final void writeInt(int i)
                    throws IOException
writeInt in interface DataOutputi - ?IOException - ?public final void writeLong(long l)
                     throws IOException
writeLong in interface DataOutputl - ?IOException - ?public final void writeShort(int i)
                      throws IOException
writeShort in interface DataOutputi - ?IOException - ?public final void writeUTF(String s) throws IOException
writeUTF in interface DataOutputs - ?IOException - ?