de.schlichtherle.io.rof
Class SimpleReadOnlyFile

java.lang.Object
  extended by java.io.RandomAccessFile
      extended by de.schlichtherle.io.rof.SimpleReadOnlyFile
All Implemented Interfaces:
ReadOnlyFile, Closeable, DataInput, DataOutput

public class SimpleReadOnlyFile
extends RandomAccessFile
implements ReadOnlyFile

A ReadOnlyFile implementation using a RandomAccessFile.

Version:
TrueZIP 6.7
Author:
Christian Schlichtherle

Constructor Summary
SimpleReadOnlyFile(File file)
           
 
Method Summary
 
Methods inherited from class java.io.RandomAccessFile
close, getChannel, getFD, getFilePointer, length, read, read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, seek, setLength, skipBytes, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.schlichtherle.io.rof.ReadOnlyFile
close, getFilePointer, length, read, read, read, readFully, readFully, seek, skipBytes
 

Constructor Detail

SimpleReadOnlyFile

public SimpleReadOnlyFile(File file)
                   throws FileNotFoundException
Throws:
FileNotFoundException