Class JavaCompiler
java.lang.Object
org.apache.jasper.compiler.Compiler
org.apache.jasper.compiler.JavaCompiler
Main JSP compiler class. This class uses the Java Compiler API for compiling.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
generateClass
(Map<String, SmapStratum> smaps) Servlet compilation.Methods inherited from class org.apache.jasper.compiler.Compiler
compile, compile, compile, generateJava, getCompilationContext, getErrorDispatcher, getPageInfo, getSmap, init, isOutDated, isOutDated, removeGeneratedClassFiles, removeGeneratedFiles
-
Constructor Details
-
JavaCompiler
public JavaCompiler()
-
-
Method Details
-
generateClass
Description copied from class:Compiler
Servlet compilation. This compiles the generated sources into Servlets.- Specified by:
generateClass
in classCompiler
- Parameters:
smaps
- The source maps for the class(es) generated from the source file- Throws:
JasperException
- Compilation errorIOException
-