Package org.apache.jasper.compiler
Class NullJavaCompiler
java.lang.Object
org.apache.jasper.compiler.NullJavaCompiler
Java compiler for invoking JSP to java translation only. This only
implements the part of JavaCompiler that handles the writing of the
generated Java file.
- Author:
- Kin-man Chung
-
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)
-
Constructor Details
-
NullJavaCompiler
public NullJavaCompiler()
-
-
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)
-