org.codehaus.groovy.tools.javac
Class JavacJavaCompiler

java.lang.Object
  extended by org.codehaus.groovy.tools.javac.JavacJavaCompiler
All Implemented Interfaces:
JavaCompiler

public class JavacJavaCompiler
extends java.lang.Object
implements JavaCompiler


Field Summary
private  CompilerConfiguration config
           
 
Constructor Summary
JavacJavaCompiler(CompilerConfiguration config)
           
 
Method Summary
private  void addJavacError(java.lang.String header, CompilationUnit cu, java.io.StringWriter msg)
           
 void compile(java.util.List files, CompilationUnit cu)
           
private  java.lang.Class findJavac(CompilationUnit cu)
           
private  java.lang.String[] makeParameters(java.util.List files, GroovyClassLoader parentClassLoader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

config

private CompilerConfiguration config
Constructor Detail

JavacJavaCompiler

public JavacJavaCompiler(CompilerConfiguration config)
Method Detail

compile

public void compile(java.util.List files,
                    CompilationUnit cu)
Specified by:
compile in interface JavaCompiler

addJavacError

private void addJavacError(java.lang.String header,
                           CompilationUnit cu,
                           java.io.StringWriter msg)

makeParameters

private java.lang.String[] makeParameters(java.util.List files,
                                          GroovyClassLoader parentClassLoader)

findJavac

private java.lang.Class findJavac(CompilationUnit cu)
                           throws java.lang.ClassNotFoundException
Throws:
java.lang.ClassNotFoundException


Copyright © ${year} The Codehaus. All Rights Reserved.