Package org.eclipse.jgit.util.io
Class SilentFileInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FileInputStream
-
- org.eclipse.jgit.util.io.SilentFileInputStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public class SilentFileInputStream extends java.io.FileInputStream
An implementation of FileInputStream that ignores any exceptions on close().- Since:
- 5.0
-
-
Constructor Summary
Constructors Constructor Description SilentFileInputStream(java.io.File file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
-
Methods inherited from class java.io.FileInputStream
available, finalize, getChannel, getFD, read, read, read, skip
-
-