- RandomAccessFile - Class in java.io
-
Instances of this class support both reading and writing to a random access file.
- RandomAccessFile(String, String) - Constructor for class java.io.RandomAccessFile
-
Creates a random access file stream to read from, and optionally to write to, a file with the specified name.
- RandomAccessFile(File, String) - Constructor for class java.io.RandomAccessFile
-
Creates a random access file stream to read from, and optionally to write to, the file specified by the
File
argument.
- read() - Method in class java.io.FileInputStream
-
Reads a byte of data from this input stream.
- read(byte[]) - Method in class java.io.FileInputStream
-
Reads up to b.length
bytes of data from this input stream into an array of bytes.
- read(byte[], int, int) - Method in class java.io.FileInputStream
-
Reads up to len
bytes of data from this input stream into an array of bytes.
- read() - Method in class java.io.RandomAccessFile
-
Reads a byte of data from this file.
- read(byte[], int, int) - Method in class java.io.RandomAccessFile
-
Reads up to len
bytes of data from this file into an array of bytes.
- read(byte[]) - Method in class java.io.RandomAccessFile
-
Reads up to b.length
bytes of data from this file into an array of bytes.
- readBoolean() - Method in class java.io.RandomAccessFile
-
Reads a boolean
from this file.
- readByte() - Method in class java.io.RandomAccessFile
-
Reads a signed eight-bit value from this file.
- readChar() - Method in class java.io.RandomAccessFile
-
Reads a character from this file.
- readDouble() - Method in class java.io.RandomAccessFile
-
Reads a double
from this file.
- readFloat() - Method in class java.io.RandomAccessFile
-
Reads a float
from this file.
- readFully(byte[]) - Method in class java.io.RandomAccessFile
-
Reads b.length
bytes from this file into the byte array, starting at the current file pointer.
- readFully(byte[], int, int) - Method in class java.io.RandomAccessFile
-
Reads exactly len
bytes from this file into the byte array, starting at the current file pointer.
- readInt() - Method in class java.io.RandomAccessFile
-
Reads a signed 32-bit integer from this file.
- readLine() - Method in class java.io.RandomAccessFile
-
Reads the next line of text from this file.
- readLong() - Method in class java.io.RandomAccessFile
-
Reads a signed 64-bit integer from this file.
- readShort() - Method in class java.io.RandomAccessFile
-
Reads a signed 16-bit number from this file.
- readUnsignedByte() - Method in class java.io.RandomAccessFile
-
Reads an unsigned eight-bit number from this file.
- readUnsignedShort() - Method in class java.io.RandomAccessFile
-
Reads an unsigned 16-bit number from this file.
- readUTF() - Method in class java.io.RandomAccessFile
-
Reads in a string from this file.
- renameTo(File) - Method in class java.io.File
-
Renames the file denoted by this abstract pathname.