Package org.cdlib.mrt.utility
Class DeleteOnCloseFileInputStream
java.lang.Object
java.io.InputStream
java.io.FileInputStream
org.cdlib.mrt.utility.DeleteOnCloseFileInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
- Author:
- replic
-
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
-
Constructor Details
-
DeleteOnCloseFileInputStream
- Throws:
FileNotFoundException
-
DeleteOnCloseFileInputStream
- Throws:
FileNotFoundException
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFileInputStream- Throws:
IOException
-