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