Skip to content
Advertisement

Tag: src

Load a file from src folder into a reader

I would like to know how can I load a file lol.txt from src folder into my close method. The code so far: Console error output on initiation: Answer If you like to load the file from inside a jar file (i.e. from classpath) please see this answer for more options on how to get an InputStream. In the code

Advertisement