RandomAccessFile
Class RandomAccessFile
- java.lang.Object
-
- java.io.RandomAccessFile
- All Implemented Interfaces:
- Closeable, DataInput, DataOutput, AutoCloseable
public class RandomAccessFile extends Object implements DataOutput, DataInput, Closeable
Instances of this class support both reading and writing to a random access file. A random access file behaves like a large array of bytes stored in the file system. There is a kind of cursor, or index into the implied array, called the file pointer; input operations read bytes starting