Get a resource URL using the BeanShell classpath @param path should be an absolute path
( String path )
| 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 |
no outgoing calls
no test coverage detected