f-angi
5/20/2016 - 3:48 PM

Retrieves a file's path in the resource dir

Retrieves a file's path in the resource dir

ClassLoader.getSystemResource("path/inside/resource");

// or

getClass().getClassLoader().getResource("path/inside/resource").getFile();