Package com.liferay.petra.io
Class AutoDeleteFileInputStream
java.lang.Object
java.io.InputStream
java.io.FileInputStream
com.liferay.petra.io.AutoDeleteFileInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
-
Constructor Summary
Constructors -
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
-
Constructor Details
-
AutoDeleteFileInputStream
- Throws:
FileNotFoundException
-
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classFileInputStream
- Throws:
IOException
-