ClassLoader.getSystemResource

ClassLoader.getSystemResource

Class Overview | Class Members | This Package | All Packages

Syntax
public static final URL getSystemResource( String name )
Parameters
name
the name of the resource, to be used as is.
Returns
the URL on the resource, or null if not found.
Description
Find a resource with a given name. The return is a URL to the resource Doing a getContent() on the URL may return an Image, an AudioClip, or an InputStream.

The resource name may be any system resource (e.g. follows CLASSPATH order).