com.caucho.java
Class GroovyCompiler

java.lang.Object
  extended by com.caucho.java.AbstractJavaCompiler
      extended by com.caucho.java.GroovyCompiler
All Implemented Interfaces:
java.lang.Runnable

public class GroovyCompiler
extends AbstractJavaCompiler

Compiles Groovy source, returning the loaded class.


Field Summary
protected static java.util.logging.Logger log
           
 
Fields inherited from class com.caucho.java.AbstractJavaCompiler
_compiler, L
 
Constructor Summary
GroovyCompiler(JavaCompilerUtil compiler)
           
 
Method Summary
protected  void compileInt(java.lang.String[] paths, LineMap lineMap)
          Compile the configured file.
 
Methods inherited from class com.caucho.java.AbstractJavaCompiler
abort, getException, isDone, notifyComplete, run, setLineMap, setPath, waitForComplete
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final java.util.logging.Logger log
Constructor Detail

GroovyCompiler

public GroovyCompiler(JavaCompilerUtil compiler)
Method Detail

compileInt

protected void compileInt(java.lang.String[] paths,
                          LineMap lineMap)
                   throws java.io.IOException
Compile the configured file.

Specified by:
compileInt in class AbstractJavaCompiler
Parameters:
path - the path to the java source.
lineMap - mapping from the generated source to the original files.
Throws:
java.io.IOException