Posted By

arunpjohny on 12/02/09


java load-resouce

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


Loading Resource from classpath

 / Published in: Java

This gives the absolute path for the file

  1. String fileName = getClass().getResource("/").getFile();

Report this snippet  

You need to login to post a comment.