Package org.codehaus.groovy.tools
Class Compiler
java.lang.Object
org.codehaus.groovy.tools.Compiler
public class Compiler extends Object
A convenience front end for getting standard compilations done.
 All compile() routines generate classes to the filesystem.
- 
Field Summary
 - 
Constructor Summary
Constructors Constructor Description Compiler()Initializes the Compiler with default configuration.Compiler(CompilerConfiguration configuration)Initializes the Compiler with the specified configuration. - 
Method Summary
 
- 
Field Details
- 
DEFAULT
 
 - 
 - 
Constructor Details
- 
Compiler
public Compiler()Initializes the Compiler with default configuration. - 
Compiler
Initializes the Compiler with the specified configuration. 
 - 
 - 
Method Details
- 
compile
Compiles a single File.- Throws:
 CompilationFailedException
 - 
compile
Compiles a series of Files.- Throws:
 CompilationFailedException
 - 
compile
Compiles a series of Files from file names.- Throws:
 CompilationFailedException
 - 
compile
Compiles a string of code.- Throws:
 CompilationFailedException
 
 -