What's the correct use of new Java 7 Path class?
<p>I currently use this approach to load files in my applications:</p>

<pre><code>Path path = Paths.get(ClassLoader.class.getResource(fileName).toURI());
</code></pre>

<p>where fileName is structured as "/package1/package2/folder/file.lol".</p>

<p>Are there better, simpler, or more correct methods to get a Path object?
I need that works inside JARs too.</p>
