NOS.system
Class NASExecuter

java.lang.Object
  extended by NOS.system.NASExecuter

public class NASExecuter
extends java.lang.Object


Constructor Summary
NASExecuter()
           
 
Method Summary
static boolean run(NOSFile nasfile)
          Run the given NAS script in the root directory.
static boolean run(NOSFile nasfile, java.lang.String dir)
          Run the given NAS script in the given directory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NASExecuter

public NASExecuter()
Method Detail

run

public static boolean run(NOSFile nasfile)
Run the given NAS script in the root directory.

Parameters:
nasfile - A file containing a NAS script
Returns:
True if the script ran ok.

run

public static boolean run(NOSFile nasfile,
                          java.lang.String dir)
Run the given NAS script in the given directory

Parameters:
nasfile - A file containing a NAS script
dir - A directory to run in.
Returns:
True if the script ran ok.