Logo Search packages:      
Sourcecode: jamvm version File versions

URL java::lang::ClassLoader::findResource ( String  name  )  [inline, protected]

Called whenever a resource is needed that could not be provided by one of the parents of this classloader. It is called by getResource() after parent.getResource() couldn't provide the requested resource.

The default implementation always returns null. Subclasses should override this method when they can provide a way to return a URL to a named resource.

Parameters:
name the name of the resource to be found
Returns:
a URL to the named resource or null when not found
Since:
1.2

Definition at line 603 of file ClassLoader.java.

Referenced by getResource().

  {
    return null;
  }


Generated by  Doxygen 1.6.0   Back to index