java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.eclipse.jgit.util.io.SilentInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
An
InputStream that swallows exceptions on close().- Since:
- 7.4
-
Field Summary
Fields inherited from class java.io.FilterInputStream
in -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.FilterInputStream
available, mark, markSupported, read, read, read, reset, skipMethods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Constructor Details
-
SilentInputStream
Wraps an existingInputStream.- Parameters:
in-InputStreamto wrap
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFilterInputStream- Throws:
IOException
-