PageRenderTime 49ms CodeModel.GetById 47ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/jEdit/tags/jedit-4-5-pre1/org/gjt/sp/jedit/bsh/commands/getResource.bsh

#
Unknown | 14 lines | 11 code | 3 blank | 0 comment | 0 complexity | d3cf2c6fca6b3fc1c2953eab58370ba0 MD5 | raw file
 1/**
 2	Get a resource from the BeanShell classpath.
 3	This method takes into account modification to the BeanShell class path via
 4	addClassPath() and setClassPath();
 5*/
 6
 7bsh.help.getResource = "usage: getResource( String name )";
 8
 9import org.gjt.sp.jedit.bsh.Interpreter;
10
11URL getResource( String path ) 
12{
13	return this.interpreter.getClassManager().getResource( path );
14}