net.java.sen.io
Class RandomAccessReader

java.lang.Object
  extended byjava.io.RandomAccessFile
      extended bynet.java.sen.io.RandomAccessReader
All Implemented Interfaces:
java.io.DataInput, java.io.DataOutput, FileAccessor

public class RandomAccessReader
extends java.io.RandomAccessFile
implements FileAccessor


Constructor Summary
RandomAccessReader(java.io.File file)
           
RandomAccessReader(java.lang.String name)
           
 
Method Summary
 void seek(int pos)
           
 
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 net.java.sen.io.FileAccessor
close, read, read, readInt, readShort
 

Constructor Detail

RandomAccessReader

public RandomAccessReader(java.lang.String name)
                   throws java.io.IOException

RandomAccessReader

public RandomAccessReader(java.io.File file)
                   throws java.io.IOException
Method Detail

seek

public void seek(int pos)
          throws java.io.IOException
Specified by:
seek in interface FileAccessor
Throws:
java.io.IOException