avrora
Class Main.ProgramReader

java.lang.Object
  extended byavrora.Main.ProgramReader
Direct Known Subclasses:
AtmelProgramReader, GASProgramReader, ObjDumpProgramReader
Enclosing class:
Main

public abstract static class Main.ProgramReader
extends java.lang.Object

The ProgramReader class represents an object capable of reading a program given the special command line arguments. It may for example read source assembly and produce a simplified program.


Constructor Summary
Main.ProgramReader()
           
 
Method Summary
abstract  java.lang.String getHelp()
           
abstract  Program read(java.lang.String[] args)
          The read() method will read a program in and produce a simplified format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Main.ProgramReader

public Main.ProgramReader()
Method Detail

read

public abstract Program read(java.lang.String[] args)
                      throws java.lang.Exception
The read() method will read a program in and produce a simplified format.

Parameters:
args - the command line arguments
Returns:
a program instance representing the program
Throws:
java.lang.Exception

getHelp

public abstract java.lang.String getHelp()