How to read a textfile and output it , BufferedReader & Scanner
Here's a demo I wrote some time ago to read a file and output it in the console. I've created 2 versions. One that uses the "Scanner object" and the other the "BufferedReader object" to read the text files from disk.
Both examples of mine work, but the Scanner version is preferred.
BufferedReader version:
public class ReadFile {
public [...]
http://www.engineeringser...t-bufferedreader-scanner/