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, writeUTFprivate final FileObject file
FileRandomAccessContent(FileObject file, RandomAccessContent content)
protected void onClose()
throws java.io.IOException
onClose in class MonitorRandomAccessContentjava.io.IOException - if subclass throws it.public void close()
throws FileSystemException
MonitorRandomAccessContentclose in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in interface RandomAccessContentclose in class MonitorRandomAccessContentFileSystemException