>> does anyone know if there's documentation for them anywhere?
>
>Documentation for what? getSystemResource() (by default) just returns
>a URL that points to the asked-for resource within the CLASSPATH.
Paul, is correct. And let me add that this URL is apparently supposed to be
treated as opaque by the application. See:
http://java.sun.com/products/jdk/1.1/docs/guide/misc/resources.html
which says:
<quote>
The method getResource() returns a URL for the resource. The URL (and its
representation) is implementation and JVM-instance specific (the URL
obtained in one JVM instance may not work in another) and may vary depending
on the implementation details (it may also change between JDK1.1 and
JDK1.1.1). Its protocol is (usually) specific to the ClassLoader loading the
resource. If the resource does not exist, a null will be returned; if the
resource is not visible due to security considerations, a null will also be
returned.
</quote>
I believe getResource() returns a systemresource: URL. This URL format is
defined by Sun and they have already changed the format at least once, so I
would not put it past them to do it again. I am not aware of any
specfication for the syntax.
--
*****************************************************
* Aaron M. Renn *
* Email: [EMAIL PROTECTED] *
* Homepage: <URL:http://www.urbanophile.com/arenn/> *
*****************************************************