org.terrier.utility.io
Interface RandomDataOutput

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

public interface RandomDataOutput
extends 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 IOException
Sets the length of this file.

Throws:
IOException


Terrier 3.6. Copyright © 2004-2011 University of Glasgow