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
-
Constructor Summary
-
Method Summary
Methods inherited from class java.io.FileInputStream
available, getChannel, getFD, read, read, read, readAllBytes, readNBytes, skip
Methods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, readNBytes, reset, skipNBytes, transferTo
-
Field Details
-
file
-
-
Constructor Details
-
AutoDeleteFileInputStream
- Throws:
IOException
-
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classFileInputStream
- Throws:
IOException
-