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 / pathToFile.bsh < prev    next >
Text File  |  2005-05-23  |  289b  |  11 lines

  1. /**
  2.     Create a File object corresponding to the specified file path name, taking
  3.     into account the bsh current working directory (bsh.cwd)
  4. */
  5.  
  6. bsh.help.pathToFile = "usage: File pathToFile( String )";
  7.  
  8. File pathToFile( String filename ) {
  9.     return this.interpreter.pathToFile( filename );
  10. }
  11.