Compilerpublic class SunJavaCompiler extends java.lang.Object implements Compiler
| Constructor | Description | 
|---|---|
SunJavaCompiler(java.io.File baseDirectory) | 
 Creates a compiler for a given directory. 
 | 
| Modifier and Type | Method | Description | 
|---|---|---|
void | 
compileDirectory() | 
 Compiles the content of a directory. 
 | 
void | 
setJavaSourceVersion(float javaSourceVersion) | 
 Sets the Java source version the current test will be using. 
 | 
public SunJavaCompiler(java.io.File baseDirectory)
baseDirectory - The directory that holds the files to be compiled.public void setJavaSourceVersion(float javaSourceVersion)
setJavaSourceVersion in interface CompilerjavaSourceVersion - The Java Source version to be used.public void compileDirectory()
CompilationException
 if the build fails.compileDirectory in interface CompilerIntalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com