Created
April 10, 2014 07:25
-
-
Save mrkev/10351388 to your computer and use it in GitHub Desktop.
Open String filepath to BufferedReader (Doesn't include imports).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Opens a file into a BufferedReader. | |
* | |
* @param filename A file to read. | |
* @return A BufferedReader for reading the file. | |
* @throws FileNotFoundException | |
*/ | |
private static BufferedReader openFile(String filename) throws FileNotFoundException { | |
return new BufferedReader(new FileReader(filename)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment