home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2007 June
/
PCWorld_2007-06_cd.bin
/
multimedia
/
ppsee
/
PPSeeSetup.exe
/
lib
/
bsh-commands-2.0b4.jar
/
bsh
/
commands
/
getResource.bsh
< prev
next >
Wrap
Text File
|
2005-05-23
|
353b
|
15 lines
/**
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 );
}