A read-only RandomAccessFile with caching. Implements an LRU cache to store blocks. Blocks are implemented as byte arrays.
Only overrides the read methods that must be implemented. The final read methods call the ones we have implemented here, {@link readUTF()}, for instance.
{@link getFD()} and {@link getChannel()} won't benefitfrom this class's caching and won't report the same file position that would be returned by {@link getFilePointer()}. Also, if the file pointer is modified by FileChannel,
|
|