util.io
Class BufferedRandomAccessFile
java.lang.Object
java.io.RandomAccessFile
util.io.BufferedRandomAccessFile
- All Implemented Interfaces:
- Closeable, DataInput, DataOutput
public class BufferedRandomAccessFile
- extends RandomAccessFile
buffered RandomAccessFile for faster reading
- Author:
- mikepple
| Methods inherited from class java.io.RandomAccessFile |
close, getChannel, getFD, length, 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 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BufferedRandomAccessFile
public BufferedRandomAccessFile(File file,
String mode)
throws IOException
- Throws:
IOException
BufferedRandomAccessFile
public BufferedRandomAccessFile(String filename,
String mode)
throws IOException
- Throws:
IOException
read
public final int read()
throws IOException
- Overrides:
read in class RandomAccessFile
- Throws:
IOException
read
public int read(byte[] b,
int off,
int len)
throws IOException
- Overrides:
read in class RandomAccessFile
- Throws:
IOException
getFilePointer
public long getFilePointer()
throws IOException
- Overrides:
getFilePointer in class RandomAccessFile
- Throws:
IOException
seek
public void seek(long pos)
throws IOException
- Overrides:
seek in class RandomAccessFile
- Throws:
IOException
TV-Browser 2.7.5, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)