io.reader
Class BufferedRandomAccessFile

java.lang.Object
  extended by java.io.RandomAccessFile
      extended by io.reader.BufferedRandomAccessFile
All Implemented Interfaces:
java.io.Closeable, java.io.DataInput, java.io.DataOutput

public class BufferedRandomAccessFile
extends java.io.RandomAccessFile

Author:
minddumped.blogspot.com

Constructor Summary
BufferedRandomAccessFile(java.io.File file, java.lang.String mode)
           
 
Method Summary
 int getbuffpos()
           
 long getFilePointer()
           
 int read()
           
 java.lang.String readLineBuffered()
           
 void seek(long pos)
           
 
Methods inherited from class java.io.RandomAccessFile
close, getChannel, getFD, length, read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, setLength, skipBytes, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BufferedRandomAccessFile

public BufferedRandomAccessFile(java.io.File file,
                                java.lang.String mode)
                         throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException
Method Detail

getbuffpos

public int getbuffpos()

getFilePointer

public long getFilePointer()
                    throws java.io.IOException
Overrides:
getFilePointer in class java.io.RandomAccessFile
Throws:
java.io.IOException

read

public int read()
         throws java.io.IOException
Overrides:
read in class java.io.RandomAccessFile
Throws:
java.io.IOException

readLineBuffered

public java.lang.String readLineBuffered()
                                  throws java.io.IOException
Throws:
java.io.IOException

seek

public void seek(long pos)
          throws java.io.IOException
Overrides:
seek in class java.io.RandomAccessFile
Throws:
java.io.IOException