public URL findResource(String name,boolean check){
  Loader loader;
  int[] cache=getLookupCache(name);
  for (int i=0; (loader=getNextLoader(cache,i)) != null; i++) {
    URL url=loader.findResource(name,check);
    if (url != null) {
      return url;
    }
  }
  return null;
}

public URL findResource ( String name , boolean check ) { Loader loader ; int [ ] cache = getLookupCache ( name ) ; for ( int i = 0 ; ( loader = getNextLoader ( cache , i ) ) != null ; i ++ ) { URL url = loader . findResource ( name , check ) ; if ( url != null ) { return url ; } } return null ; }
finds the resource with the specified name on the url search path or null if not found or security check fails .
