com.inxar.jenesis
Class Javac

java.lang.Object
  |
  +--com.inxar.jenesis.MVC
        |
        +--com.inxar.jenesis.Javac
All Implemented Interfaces:
VirtualCompiler

public class Javac
extends MVC

Implementation of VirtualCompiler which calls sun.tools.javac.Main.compile().


Fields inherited from class com.inxar.jenesis.MVC
dest, libs, opts, srcs
 
Constructor Summary
Javac()
          Constructs a new Javac compiler instance.
 
Method Summary
 boolean compile(CompilationUnit unit)
          Generates the source code file and compiles the result.
 
Methods inherited from class com.inxar.jenesis.MVC
addClasspath, addOption, addOption, addSourcepath, getClasspaths, getDestination, getOptions, getSourcepaths, join, setDestination, split, toFilename
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Javac

public Javac()
Constructs a new Javac compiler instance.
Method Detail

compile

public boolean compile(CompilationUnit unit)
                throws java.io.IOException
Description copied from interface: VirtualCompiler
Generates the source code file and compiles the result.