com.caucho.java
Class EclipseCompiler

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

public class EclipseCompiler
extends AbstractJavaCompiler

Compiles Java source, returning the loaded class.


Field Summary
 
Fields inherited from class com.caucho.java.AbstractJavaCompiler
_compiler, L, log
 
Constructor Summary
EclipseCompiler(JavaCompilerUtil compiler)
           
 
Method Summary
protected  void compileInt(java.lang.String[] path, 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
 

Constructor Detail

EclipseCompiler

public EclipseCompiler(JavaCompilerUtil compiler)
Method Detail

compileInt

protected void compileInt(java.lang.String[] path,
                          LineMap lineMap)
                   throws java.io.IOException,
                          JavaCompileException
Description copied from class: AbstractJavaCompiler
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
JavaCompileException