/jEdit/tags/jedit-4-5-pre1/org/gjt/sp/jedit/bsh/commands/getClassPath.bsh
# · Unknown · 13 lines · 10 code · 3 blank · 0 comment · 0 complexity · 57b1ceb776525591d3fe26cb1d2af6f2 MD5 · raw file
- /**
- Get the current classpath including all user path, extended path, and the
- bootstrap JAR file if possible.
- */
- bsh.help.getClassPath= "usage: getClassPath()";
- import org.gjt.sp.jedit.bsh.BshClassManager;
- URL [] getClassPath() {
- this.cp = this.caller.namespace.getClassManager().getClassPath();
- return cp.getPathComponents();
- }