Interface MappedByteBufferInputStream.FileResizeOp

Enclosing class:
MappedByteBufferInputStream

public static interface MappedByteBufferInputStream.FileResizeOp
File resize interface allowing a file to change its size, e.g. via RandomAccessFile.setLength(long).
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setLength(long newSize)
     
  • Method Details

    • setLength

      void setLength(long newSize) throws IOException
      Parameters:
      newSize - the new file size
      Throws:
      IOException - if file size change is not supported or any other I/O error occurs