Package org.nuxeo.ecm.core.blob
Class BlobStoreBlobProvider.AutoDeleteFileInputStream
java.lang.Object
java.io.InputStream
java.io.FileInputStream
org.nuxeo.ecm.core.blob.BlobStoreBlobProvider.AutoDeleteFileInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
BlobStoreBlobProvider
A
FileInputStream that deletes its underlying file when it is closed.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.FileInputStream
available, getChannel, getFD, read, read, read, readAllBytes, readNBytes, skip, transferToMethods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, readNBytes, reset, skipNBytes
-
Field Details
-
file
-
-
Constructor Details
-
AutoDeleteFileInputStream
- Throws:
IOException
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFileInputStream- Throws:
IOException
-