|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.codehaus.groovy.tools.Compiler
A convenience front end for getting standard compilations done. All compile() routines generate classes to the filesystem.
| Field Summary | |
static Compiler |
DEFAULT
|
| Constructor Summary | |
Compiler()
Initializes the Compiler with default configuration. |
|
Compiler(CompilerConfiguration configuration)
Initializes the Compiler with the specified configuration. |
|
| Method Summary | |
void |
compile(File file)
Compiles a single File. |
void |
compile(File[] files)
Compiles a series of Files. |
void |
compile(String[] files)
Compiles a series of Files from file names. |
void |
compile(String name,
String code)
Compiles a string of code. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static Compiler DEFAULT
| Constructor Detail |
public Compiler()
public Compiler(CompilerConfiguration configuration)
| Method Detail |
public void compile(File file)
throws CompilationFailedException
CompilationFailedException
public void compile(File[] files)
throws CompilationFailedException
CompilationFailedException
public void compile(String[] files)
throws CompilationFailedException
CompilationFailedException
public void compile(String name,
String code)
throws CompilationFailedException
CompilationFailedException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||