Here's what I need to happen: I've got a text file with some values in them that I need to read (Let's say it is example.txt
). I need to read that file like i would using ex. FileInputStream
or BufferedReader
). How would I go about doing it?
PS - This is what I tried doing, but it didn't help. I would always get an error saying the file has to be .xml