avrora.stack
Class AnalyzeStackAction

java.lang.Object
  extended byavrora.Main.Action
      extended byavrora.stack.AnalyzeStackAction

public class AnalyzeStackAction
extends Main.Action

The AnalyzeStackAction class is an extension of the Main.Action class that allows the stack tool to be reached from the command line.


Constructor Summary
AnalyzeStackAction()
           
 
Method Summary
 java.lang.String getHelp()
          The getHelp() method returns a string that is used in reporting the command line help to the user.
 void run(java.lang.String[] args)
          The run() method runs the stack analysis by loading the program from the command line options specified, creating an instance of the Analyzer class, and running the analysis.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnalyzeStackAction

public AnalyzeStackAction()
Method Detail

run

public void run(java.lang.String[] args)
         throws java.lang.Exception
The run() method runs the stack analysis by loading the program from the command line options specified, creating an instance of the Analyzer class, and running the analysis.

Specified by:
run in class Main.Action
Parameters:
args - the string arguments that are the files containing the program
Throws:
java.lang.Exception - if the program cannot be loaded correctly

getHelp

public java.lang.String getHelp()
The getHelp() method returns a string that is used in reporting the command line help to the user.

Specified by:
getHelp in class Main.Action
Returns:
an unformatted paragraph that contains the text explanation of what the stack analysis tool is and does.