private URL getResource ( String filename , ClassLoader myClassLoader , boolean updateStatus ) { URL url = myClassLoader . getResource ( filename ) ; if ( updateStatus ) { String resourcePath = null ; if ( url != null ) { resourcePath = filename ; } statusOnResourceSearch ( filename , myClassLoader , resourcePath ) ; } return url ; }
Uses the given classloader to search for a resource