Package ij.macro

Examples of ij.macro.Interpreter


  }
 
  public static String lookupPathVariable(String path) {
    if (path!=null && path.indexOf(".")==-1 && !((new File(path)).exists())) {
      if (path.startsWith("&")) path=path.substring(1);
      Interpreter interp = Interpreter.getInstance();
      String path2 = interp!=null?interp.getStringVariable(path):null;
      if (path2!=null) path = path2;
    }
    return path;
  }
View Full Code Here


      if (path==null)
        path = Macro.getValue(macroOptions, "path", null);
      if (path!=null && path.indexOf(".")==-1 && !((new File(path)).exists())) {
        // Is 'path' a macro variable?
        if (path.startsWith("&")) path=path.substring(1);
        Interpreter interp = Interpreter.getInstance();
        String path2 = interp!=null?interp.getStringVariable(path):null;
        if (path2!=null) path = path2;
      }
      if (path!=null) {
        Opener o = new Opener();
        dir = o.getDir(path);
View Full Code Here

TOP

Related Classes of ij.macro.Interpreter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.