public class CustomCompiler extends Compiler
| Constructor and Description |
|---|
CustomCompiler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
generateClass(String[] smap)
Compile the servlet from .java file to .class file
|
boolean |
isOutDated()
This is a protected method intended to be overridden by subclasses of
Compiler.
|
boolean |
isOutDated(boolean checkClass)
Determine if a compilation is necessary by checking the time stamp of the
JSP page with that of the corresponding .class or .java file.
|
compile, compile, compile, generateJava, getCompilationContext, getErrorDispatcher, getPageInfo, getPageNodes, init, removeGeneratedClassFiles, removeGeneratedFilespublic boolean isOutDated()
CompilerisOutDated in class Compilerpublic boolean isOutDated(boolean checkClass)
CompilerisOutDated in class CompilercheckClass - If true, check against .class file, if false, check against
.java file.protected void generateClass(String[] smap) throws FileNotFoundException, JasperException, Exception
CompilergenerateClass in class Compilersmap - string arrayFileNotFoundException - is file was not foundJasperException - in case of jasper errorsException - in case of other errorsCopyright © 2000–2019 Apache Software Foundation. All rights reserved.