Random Access File Java. Using file pointer, we can read or write data from random access file at any position. To access a file randomly, you open the file, seek a particular location, and read from or write to that file.

Randomaccess fileの圧倒的多数の機能は全部ではないですが、jdk 1.4のnioの「メモリマッピングファイル」に取って代わられました。random access fileの代わりに「メモリマッピン. Java.io.randomaccessfile class provides a way to random access files using reading and writing operations. There is a kind of cursor, or index into the implied array, called the file pointer ;