Class TempFileInputStream
java.lang.Object
java.io.InputStream
java.io.FileInputStream
de.hybris.platform.auditreport.service.impl.io.TempFileInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
This extension to
FileInputStream deletes the file passed to its constructor as the last operation in the
close() method.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.FileInputStream
available, getChannel, getFD, read, read, read, readAllBytes, readNBytes, skipMethods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, readNBytes, reset, skipNBytes, transferTo
-
Constructor Details
-
TempFileInputStream
- Throws:
FileNotFoundException
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFileInputStream- Throws:
IOException
-