public interface ResourceFinder
Modifier and Type | Method and Description |
---|---|
BufferedReader |
open(String fileName)
Finds the file with the specified name and returns a reader for that
files contents.
|
BufferedReader open(String fileName) throws IOException
fileName
- the name of a fileBufferedReader
to the contents of the specified fileIOException
- if the resource cannot be found or if an error occurs
while opening the resourceCopyright © 2012. All Rights Reserved.