public interface FileReader extends Closeable
Declares method for reading file stream.
Modifier and Type | Method and Description |
---|---|
void |
close()
Disposes the object and releases any system resources associated with it.
|
InputStream |
read()
The method that returns file stream.
|
void close()
close
in interface AutoCloseable
close
in interface Closeable
InputStream read() throws FileNotFoundException
The method that returns file stream.
InputStream
readable stream.FileNotFoundException