Class JavaCompiler


  • public class JavaCompiler
    extends Compiler
    Main JSP compiler class. This class uses the Java Compiler API for compiling.
    • Constructor Detail

      • JavaCompiler

        public JavaCompiler()
    • Method Detail

      • generateClass

        protected void generateClass​(java.util.Map<java.lang.String,​SmapStratum> smaps)
                              throws JasperException,
                                     java.io.IOException
        Description copied from class: Compiler
        Servlet compilation. This compiles the generated sources into Servlets.
        Specified by:
        generateClass in class Compiler
        Parameters:
        smaps - The source maps for the class(es) generated from the source file
        Throws:
        JasperException - Compilation error
        java.io.FileNotFoundException - Source files not found
        java.io.IOException