Class SilentFileInputStream
java.lang.Object
java.io.InputStream
java.io.FileInputStream
org.eclipse.jgit.util.io.SilentFileInputStream
- All Implemented Interfaces:
Closeable, AutoCloseable
An implementation of FileInputStream that ignores any exceptions on close().
- Since:
- 5.0
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class FileInputStream
available, finalize, getChannel, getFD, read, read, read, skipMethods inherited from class InputStream
mark, markSupported, reset
-
Constructor Details
-
SilentFileInputStream
- Parameters:
file- the file- Throws:
FileNotFoundException- the file was not found
-
-
Method Details
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFileInputStream
-