Package com.jogamp.common.nio
Interface MappedByteBufferInputStream.FileResizeOp
-
- Enclosing class:
- MappedByteBufferInputStream
public static interface MappedByteBufferInputStream.FileResizeOp
File resize interface allowing a file to change its size, e.g. viaRandomAccessFile.setLength(long)
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setLength(long newSize)
-
-
-
Method Detail
-
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
-
-