Package br.com.davinti.vitruvio.fs
Class DeletingFileInputStream
Object
InputStream
FileInputStream
DeletingFileInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDeletingFileInputStream(File file) Instantiates a new deleting file input stream. -
Method Summary
Methods inherited from class FileInputStream
available, getChannel, getFD, read, read, read, readAllBytes, readNBytes, skip, transferToMethods inherited from class InputStream
mark, markSupported, nullInputStream, readNBytes, reset, skipNBytes
-
Field Details
-
file
The file.
-
-
Constructor Details
-
DeletingFileInputStream
Instantiates a new deleting file input stream.- Parameters:
file- the file- Throws:
FileNotFoundException- the file not found exception
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFileInputStream- Throws:
IOException
-