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) |
FileContentInputStream(FileObject file,
java.io.InputStream instr,
int bufferSize) |
| 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, readprivate final FileObject file
FileContentInputStream(FileObject file, java.io.InputStream instr)
FileContentInputStream(FileObject file, java.io.InputStream instr, int bufferSize)
public void close()
throws FileSystemException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class MonitorInputStreamFileSystemExceptionprotected void onClose()
throws java.io.IOException
onClose in class MonitorInputStreamjava.io.IOException - if an error occurs.