Class DefaultFileContent.RawFileContentInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.apache.commons.vfs2.util.RawMonitorInputStream
org.apache.commons.vfs2.provider.DefaultFileContent.RawFileContentInputStream
- All Implemented Interfaces:
Closeable, AutoCloseable
- Enclosing class:
DefaultFileContent
An input stream for reading content. Provides buffering, and end-of-stream monitoring.
This is the same as DefaultFileContent.FileContentInputStream but without the buffering.
-
Field Summary
FieldsFields inherited from class FilterInputStream
in -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class FilterInputStream
markSupported, read, reset, skip
-
Field Details
-
file
-
-
Constructor Details
-
RawFileContentInputStream
RawFileContentInputStream(FileObject file, InputStream instr)
-
-
Method Details
-
close
Closes this input stream.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classRawMonitorInputStream- Throws:
FileSystemException
-
onClose
Called after the stream has been closed.- Overrides:
onClosein classRawMonitorInputStream- Throws:
IOException- if an error occurs.
-