Package org.apache.jasper.compiler
Class JavaCompiler
- java.lang.Object
-
- org.apache.jasper.compiler.Compiler
-
- org.apache.jasper.compiler.JavaCompiler
-
public class JavaCompiler extends Compiler
Main JSP compiler class. This class uses the Java Compiler API for compiling.
-
-
Constructor Summary
Constructors Constructor Description JavaCompiler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidgenerateClass(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
-
-
-
-
Method Detail
-
generateClass
protected void generateClass(Map<String,SmapStratum> smaps) throws JasperException, IOException
Description copied from class:CompilerServlet compilation. This compiles the generated sources into Servlets.- Specified by:
generateClassin classCompiler- Parameters:
smaps- The source maps for the class(es) generated from the source file- Throws:
JasperException- Compilation errorFileNotFoundException- Source files not foundIOException
-
-