I am trying to load a text file from the src package. I don't want to load it as an input stream. I would like to load it as an FileReader.
Looking at how netbeans loads icons, I tried using the code:
getClass().getResourcesAsStream("/getresources/test.txt");
However, I can't find any way to convert an inputstream into a filereader. Is there anyway do do this so that I can use a FileReader. I know I could break the inputstream up into lines myself but that seems like to much work.
Thanks!
nt