Class Compiler

java.lang.Object
  |
  +--Compiler

public abstract class Compiler
extends Object

This class implements a compiler.

Author:
P. URSO

Constructor Summary
Compiler()
           
 
Method Summary
protected abstract  void compile(File f)
          Compile a specified file.
 boolean test(File f)
          Compile and test a specified file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Compiler

public Compiler()
Method Detail

compile

protected abstract void compile(File f)
                         throws ParseException
Compile a specified file.

test

public boolean test(File f)
Compile and test a specified file.
Returns:
true if and only if file is valid.