Logo Search packages:      
Sourcecode: jamvm version File versions

Enumeration java::lang::ClassLoader::findResources ( String  name  )  throws IOException [inline, protected]

Called whenever all locations of a named resource are needed. It is called by getResources() after it has called parent.getResources(). The results are combined by the getResources() method.

The default implementation always returns an empty Enumeration. Subclasses should override it when they can provide an Enumeration of URLs (possibly just one element) to the named resource. The first URL of the Enumeration should be the same as the one returned by findResource.

Parameters:
name the name of the resource to be found
Returns:
a possibly empty Enumeration of URLs to the named resource
Exceptions:
IOException if I/O errors occur in the process
Since:
1.2

Definition at line 584 of file ClassLoader.java.

Referenced by getResources().

  {
    return EmptyEnumeration.getInstance();
  }


Generated by  Doxygen 1.6.0   Back to index