public interface FileReader extends Closeable, AutoCloseable
Declares method for reading file stream.
Modifier and Type | Method and Description |
---|---|
void |
close() |
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