public class TemplateCompiler extends java.lang.Object
Constructor and Description |
---|
TemplateCompiler(java.io.File javafile)
Creates a new page compiler that will use the default (system) classpath
as seen by 'javac' when it is invoked from the command line.
|
TemplateCompiler(java.io.File javafile,
java.lang.String classpath)
Creates a new page compiler with the specified classpath.
|
Modifier and Type | Method and Description |
---|---|
boolean |
compile() |
java.lang.String |
getError() |
static void |
main(java.lang.String[] args) |
public TemplateCompiler(java.io.File javafile)
public TemplateCompiler(java.io.File javafile, java.lang.String classpath)
javafile
- the source java file to compileclasspath
- classpath to use when compiling