FileReader

All Implemented Interfaces: java.io.Closeable

public interface FileReader extends Closeable

Declares method for reading file stream.

Methods

Method Description
read() The method that returns file stream.
close() Disposes the object and releases any system resources associated with it.

read()

public abstract InputStream read()

The method that returns file stream.

Returns: java.io.InputStream - InputStream readable stream.

close()

public abstract void close()

Disposes the object and releases any system resources associated with it.