/jEdit/tags/before-selection-manager/bsh/commands/pathToFile.bsh

# · Unknown · 10 lines · 8 code · 2 blank · 0 comment · 0 complexity · a4bbb23178f5dafc1884b42bafa327a3 MD5 · raw file

  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. bsh.help.pathToFile = "usage: File pathToFile( String )";
  6. File pathToFile( String filename ) {
  7. return this.interpreter.pathToFile( filename );
  8. }