private final class DefaultFileContent.FileRandomAccessContent extends MonitorRandomAccessContent
Modifier and Type | Field and Description |
---|---|
private FileObject |
file |
Constructor and Description |
---|
FileRandomAccessContent(FileObject file,
RandomAccessContent content) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes this content.
|
protected void |
onClose()
Called after the stream has been closed.
|
getFilePointer, getInputStream, length, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, seek, setLength, skipBytes, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
private final FileObject file
FileRandomAccessContent(FileObject file, RandomAccessContent content)
protected void onClose() throws java.io.IOException
onClose
in class MonitorRandomAccessContent
java.io.IOException
- if subclass throws it.public void close() throws FileSystemException
MonitorRandomAccessContent
close
in interface RandomAccessContent
close
in class MonitorRandomAccessContent
FileSystemException