swishej
Class FReader

java.lang.Object
  |
  +--java.io.RandomAccessFile
        |
        +--swishej.FReader

class FReader
extends java.io.RandomAccessFile
implements Reader

Reader for reading a SWISH-E index file from a RandomAccessFile.

See Also:
Reader

Fields inherited from class java.io.RandomAccessFile
fd
 
Constructor Summary
(package private) FReader(java.io.File file)
          Create an index file reader from a file
(package private) FReader(java.lang.String string)
          Create an index file reader from a filename
 
Method Summary
 long tell()
          Retrieve current file position
 
Methods inherited from class java.io.RandomAccessFile
, close, getFD, getFilePointer, initIDs, length, open, read, read, read, readBoolean, readByte, readBytes, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, seek, setLength, skipBytes, write, write, write, writeBoolean, writeByte, writeBytes, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

FReader

FReader(java.io.File file)
  throws java.io.IOException
Create an index file reader from a file
Parameters:
file - file for the index file reader
Throws:
java.io.IOException - if an error occurred

FReader

FReader(java.lang.String string)
  throws java.io.IOException
Create an index file reader from a filename
Parameters:
string - filename for the index file reader
Throws:
java.io.IOException - if an error occurred
Method Detail

tell

public long tell()
Retrieve current file position
Specified by:
tell in interface Reader
Returns:
current file position


Contact: Christian.Werner@t-online.de