Interface RandomDataOutput

  • All Superinterfaces:
    java.lang.AutoCloseable, 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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void setLength​(long newLength)
      Sets the length of this file.
      • Methods inherited from interface java.io.Closeable

        close
      • 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
    • Method Detail

      • setLength

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