com.scooterframework.autoloader
Class JavaCompiler

java.lang.Object
  extended by com.scooterframework.autoloader.JavaCompiler

public final class JavaCompiler
extends java.lang.Object

JavaCompiler class provides helper methods to compile Java source files. Notice that class path, output class directory and source path are defined by AutoLoaderConfig class.


Constructor Summary
JavaCompiler()
           
 
Method Summary
static java.lang.String compile(java.io.File[] sourceFiles)
           
static java.lang.String compile(java.util.List<java.io.File> sourceFiles)
           
static java.lang.String compile(java.lang.String[] sourceFileFullPaths)
           
static CompileErrors getCompileErrors()
           
static boolean hasCompileErrors()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaCompiler

public JavaCompiler()
Method Detail

compile

public static java.lang.String compile(java.lang.String[] sourceFileFullPaths)

hasCompileErrors

public static boolean hasCompileErrors()

getCompileErrors

public static CompileErrors getCompileErrors()

compile

public static java.lang.String compile(java.io.File[] sourceFiles)

compile

public static java.lang.String compile(java.util.List<java.io.File> sourceFiles)