private final class DefaultFileContent.FileContentInputStream extends MonitorInputStream
Modifier and Type | Field and Description |
---|---|
private FileObject |
file |
Constructor and Description |
---|
FileContentInputStream(FileObject file,
java.io.InputStream instr) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes this input stream.
|
protected void |
onClose()
Called after the stream has been closed.
|
available, getCount, read, read
private final FileObject file
FileContentInputStream(FileObject file, java.io.InputStream instr)
public void close() throws FileSystemException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class MonitorInputStream
FileSystemException
protected void onClose() throws java.io.IOException
onClose
in class MonitorInputStream
java.io.IOException
- if an error occurs.