All Downloads are FREE. Search and download functionalities are using the official Maven repository.

bsh.util.commands.getResource.bsh Maven / Gradle / Ivy

The newest version!
/**
	Get a resource from the BeanShell classpath.
	This method takes into account modification to the BeanShell class path via
	addClassPath() and setClassPath();
*/

bsh.help.getResource = "usage: getResource( String name )";

import bsh.Interpreter;

URL getResource( String path ) 
{
	return this.interpreter.getClassManager().getResource( path );
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy