Package org.apache.jasper.compiler
Class AntJavaCompiler
- java.lang.Object
-
- org.apache.jasper.compiler.AntJavaCompiler
-
public class AntJavaCompiler extends Object
Java compiler through ant- Author:
- Kin-man Chung
-
-
Constructor Summary
Constructors Constructor Description AntJavaCompiler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description JavacErrorDetail[]
compile(String className, org.apache.jasper.compiler.Node.Nodes pageNodes)
void
doJavaFile(boolean keep)
long
getClassLastModified()
Writer
getJavaWriter(String javaFileName, String javaEncoding)
void
init(JspCompilationContext ctxt, ErrorDispatcher errDispatcher, boolean suppressLogging)
void
release()
void
saveClassFile(String className, String classFileName)
void
setClassPath(List<File> cpath)
void
setDebug(boolean debug)
void
setExtdirs(String exts)
void
setSourceVM(String sourceVM)
void
setTargetVM(String targetVM)
static void
shutdownThreadPool()
static void
startThreadPool()
-
-
-
Method Detail
-
init
public void init(JspCompilationContext ctxt, ErrorDispatcher errDispatcher, boolean suppressLogging)
-
release
public void release()
-
setExtdirs
public void setExtdirs(String exts)
-
setTargetVM
public void setTargetVM(String targetVM)
-
setSourceVM
public void setSourceVM(String sourceVM)
-
setDebug
public void setDebug(boolean debug)
-
getClassLastModified
public long getClassLastModified()
-
getJavaWriter
public Writer getJavaWriter(String javaFileName, String javaEncoding) throws JasperException
- 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()
-
-