Difference between ClassLoader.getSystemResourceAsStream and getClass().getResourceAsStream()
<p>Given this code:</p>

<pre><code>/* 1 */ InputStream in1 = ClassLoader.getSystemResourceAsStream("foobar.txt");
/* 2 */ InputStream in2 = this.getClass().getResourceAsStream("/foobar.txt");
</code></pre>

<p>Do both return the same resource (I think the answer's "yes")?</p>

<p>Do they both access the "same" classpath?  Why is the method name in #1 "get <strong>System</strong> ResourceAsStream", but for #2 it's just "getResourceAsStream"?</p>

<p>Thanks</p>
