Package org.terrier.utility.io
Class LocalFileSystem.LocalRandomAccessFile
- java.lang.Object
-
- java.io.RandomAccessFile
-
- org.terrier.utility.io.LocalFileSystem.LocalRandomAccessFile
-
- All Implemented Interfaces:
java.io.Closeable
,java.io.DataInput
,java.io.DataOutput
,java.lang.AutoCloseable
,RandomDataInput
,RandomDataOutput
- Enclosing class:
- LocalFileSystem
protected static class LocalFileSystem.LocalRandomAccessFile extends java.io.RandomAccessFile implements RandomDataOutput
A file that supports random access- Author:
- Richard McCreadie
-
-
Constructor Summary
Constructors Constructor Description LocalRandomAccessFile(java.lang.String name, java.lang.String mode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
readFullyDirect(byte[] dst, long offset, int length)
-
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 java.io.DataInput
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytes
-
Methods inherited from interface java.io.DataOutput
write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
-
Methods inherited from interface org.terrier.utility.io.RandomDataInput
getFilePointer, length, seek
-
Methods inherited from interface org.terrier.utility.io.RandomDataOutput
setLength
-
-
-
-
Method Detail
-
readFullyDirect
public void readFullyDirect(byte[] dst, long offset, int length) throws java.io.IOException
- Specified by:
readFullyDirect
in interfaceRandomDataInput
- Throws:
java.io.IOException
-
-