Package org.mycore.sword
Class MCRDeleteFileOnCloseFilterInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.mycore.sword.MCRDeleteFileOnCloseFilterInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
-
Field Summary
Fields inherited from class java.io.FilterInputStream
in
-
Constructor Summary
ConstructorDescriptionMCRDeleteFileOnCloseFilterInputStream
(InputStream source, Path fileToDelete) -
Method Summary
Methods inherited from class java.io.FilterInputStream
available, mark, markSupported, read, read, read, reset, skip
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Constructor Details
-
MCRDeleteFileOnCloseFilterInputStream
-
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classFilterInputStream
- Throws:
IOException
-