org.terrier.utility.io
Interface RandomDataOutput

All Superinterfaces:
java.io.Closeable, java.io.DataInput, java.io.DataOutput, RandomDataInput
All Known Implementing Classes:
LocalFileSystem.LocalRandomAccessFile

public interface RandomDataOutput
extends java.io.DataOutput, RandomDataInput

This interface represents an interface on the writing behaviour of a RandomAccessFile.

Since:
2.2
Author:
Craig Macdonald

Method Summary
 void setLength(long newLength)
          Sets the length of this file.
 
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 java.io.DataInput
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytes
 
Methods inherited from interface java.io.Closeable
close
 

Method Detail

setLength

void setLength(long newLength)
               throws java.io.IOException
Sets the length of this file.

Throws:
java.io.IOException


Terrier 3.5. Copyright © 2004-2011 University of Glasgow