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 / getClassPath.bsh < prev    next >
Text File  |  2005-05-23  |  325b  |  14 lines

  1. /**
  2.     Get the current classpath including all user path, extended path, and the
  3.     bootstrap JAR file if possible.
  4. */
  5.  
  6. bsh.help.getClassPath= "usage: getClassPath()";
  7. import bsh.BshClassManager;
  8.  
  9. URL [] getClassPath() {
  10.     this.cp = this.caller.namespace.getClassManager().getClassPath();
  11.     return cp.getPathComponents();
  12. }
  13.  
  14.