Top Description Constructors Methods
org.eclipse.jgit.util.io

public Class SilentFileInputStream

extends FileInputStream
Class Inheritance
Imports
java.io.File, .FileInputStream, .FileNotFoundException, .IOException

An implementation of FileInputStream that ignores any exceptions on close().
Since
5.0

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
close()

Overrides java.io.FileInputStream.close.

Implements java.io.Closeable.close.

Closes this file input stream and releases any system resources associated with the stream.

Inherited from java.io.FileInputStream:
availablegetChannelgetFDreadreadreadreadAllBytesreadNBytesskiptransferTo

Constructor Detail

SilentFileInputStreamback to summary
public SilentFileInputStream(File file) throws FileNotFoundException
Parameters
file:File

the file

Exceptions
FileNotFoundException:
the file was not found

Method Detail

closeback to summary
public void close()

Overrides java.io.FileInputStream.close.

Implements java.io.Closeable.close.

Doc from java.io.FileInputStream.close.

Closes this file input stream and releases any system resources associated with the stream.

If this stream has an associated channel then the channel is closed as well.

Annotations
@Override