org.jamon.util
Class ExternalJavaCompiler

java.lang.Object
  extended by org.jamon.util.ExternalJavaCompiler
All Implemented Interfaces:
JavaCompiler

public class ExternalJavaCompiler
extends java.lang.Object
implements JavaCompiler


Constructor Summary
ExternalJavaCompiler(java.lang.String p_javac, java.lang.String p_classPath)
           
 
Method Summary
 java.lang.String compile(java.lang.String[] p_javaFiles)
          Compile the specified java source files.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExternalJavaCompiler

public ExternalJavaCompiler(java.lang.String p_javac,
                            java.lang.String p_classPath)
Method Detail

compile

public java.lang.String compile(java.lang.String[] p_javaFiles)
Description copied from interface: JavaCompiler
Compile the specified java source files.

Specified by:
compile in interface JavaCompiler
Parameters:
p_javaFiles - the source files to compile
Returns:
null if the compilation was successful, otherwise a description of the failure


jamon