|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jasper.compiler.AntJavaCompiler
public class AntJavaCompiler
Java compiler through ant
Constructor Summary | |
---|---|
AntJavaCompiler()
|
Method Summary | |
---|---|
JavacErrorDetail[] |
compile(String className,
Node.Nodes pageNodes)
Start Java compilation |
void |
doJavaFile(boolean keep)
Remove/save the generated Java File from/to disk |
long |
getClassLastModified()
Return the time the class file was generated. |
Writer |
getJavaWriter(String javaFileName,
String javaEncoding)
Get a Writer for the Java file. |
void |
init(JspCompilationContext ctxt,
ErrorDispatcher errDispatcher,
boolean suppressLogging)
Initializations |
void |
saveClassFile(String className,
String classFileName)
Save the generated class file to disk, if not already done. |
void |
setClassPath(List<File> cpath)
Java Compiler options. |
void |
setDebug(boolean debug)
|
void |
setExtdirs(String exts)
|
void |
setSourceVM(String sourceVM)
|
void |
setTargetVM(String targetVM)
|
static void |
shutdownThreadPool()
|
static void |
startThreadPool()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AntJavaCompiler()
Method Detail |
---|
public void init(JspCompilationContext ctxt, ErrorDispatcher errDispatcher, boolean suppressLogging)
public void setExtdirs(String exts)
public void setTargetVM(String targetVM)
public void setSourceVM(String sourceVM)
public void setClassPath(List<File> cpath)
public void saveClassFile(String className, String classFileName)
public void setDebug(boolean debug)
public long getClassLastModified()
public Writer getJavaWriter(String javaFileName, String javaEncoding) throws JasperException
JasperException
public JavacErrorDetail[] compile(String className, Node.Nodes pageNodes) throws JasperException
className
- Name of the class under compilation
JasperException
public void doJavaFile(boolean keep)
public static void startThreadPool()
public static void shutdownThreadPool()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |