Class.getResource() is what I wanted