Class AntJavaCompiler
java.lang.Object
org.apache.jasper.compiler.AntJavaCompiler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoJavaFile(boolean keep) longgetJavaWriter(String javaFileName, String javaEncoding) voidinit(JspCompilationContext ctxt, ErrorDispatcher errDispatcher, boolean suppressLogging) voidrelease()voidsaveClassFile(String className, String classFileName) voidsetClassPath(List<File> cpath) voidsetDebug(boolean debug) voidsetExtdirs(String exts) voidsetSourceVM(String sourceVM) voidsetTargetVM(String targetVM) static voidstatic void
-
Constructor Details
-
AntJavaCompiler
public AntJavaCompiler()
-
-
Method Details
-
init
public void init(JspCompilationContext ctxt, ErrorDispatcher errDispatcher, boolean suppressLogging) -
release
public void release() -
setExtdirs
-
setTargetVM
-
setSourceVM
-
setClassPath
-
saveClassFile
-
setDebug
public void setDebug(boolean debug) -
getClassLastModified
public long getClassLastModified() -
getJavaWriter
- Throws:
JasperException
-
compile
public JavacErrorDetail[] compile(String className, org.apache.jasper.compiler.Node.Nodes pageNodes) throws JasperException - Throws:
JasperException
-
doJavaFile
public void doJavaFile(boolean keep) -
startThreadPool
public static void startThreadPool() -
shutdownThreadPool
public static void shutdownThreadPool()
-