java.lang.Object | +----java.io.RandomAccessFile
public class RandomAccessFile
extends Object
implements DataOutput, DataInput
Instances of this class support both reading and writing to a random access file. An application can modify the position in the file at which the next read or write occurs. This class provides a sense of security by offering methods that allow specified mode accesses of read-only or read-write to files.