MCPcopy Index your code
hub / github.com/beanshell/beanshell / getResource

Method getResource

src/bsh/classpath/ClassManagerImpl.java:250–260  ·  view source on GitHub ↗

Get a resource URL using the BeanShell classpath @param path should be an absolute path

( String path )

Source from the content-addressed store, hash-verified

248 @param path should be an absolute path
249 */
250 @Override
251 public URL getResource( String path )
252 {
253 URL url = null;
254 if ( baseLoader != null )
255 // classloader wants no leading slash
256 url = baseLoader.getResource( path.substring(1) );
257 if ( url == null )
258 url = super.getResource( path );
259 return url;
260 }
261
262 /**
263 Get a resource stream using the BeanShell classpath

Callers 5

getRTJarPathMethod · 0.45
startSplashScreenMethod · 0.45
getBshVersionMethod · 0.45
sendHTMLMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected