|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.struts2.jasper.compiler.Compiler
org.apache.struts2.jasper.CustomCompiler
public class CustomCompiler
| Field Summary |
|---|
| Fields inherited from class org.apache.struts2.jasper.compiler.Compiler |
|---|
ctxt, errDispatcher, jsw, log, options, pageInfo, pageNodes, tfp |
| Constructor Summary | |
|---|---|
CustomCompiler()
|
|
| Method Summary | |
|---|---|
protected void |
generateClass(java.lang.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. |
| Methods inherited from class org.apache.struts2.jasper.compiler.Compiler |
|---|
compile, compile, compile, generateJava, getCompilationContext, getErrorDispatcher, getPageInfo, getPageNodes, init, removeGeneratedClassFiles, removeGeneratedFiles |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CustomCompiler()
| Method Detail |
|---|
public boolean isOutDated()
Compiler
isOutDated in class Compilerpublic boolean isOutDated(boolean checkClass)
Compiler
isOutDated in class CompilercheckClass - If true, check against .class file, if false, check against
.java file.
protected void generateClass(java.lang.String[] smap)
throws java.io.FileNotFoundException,
JasperException,
java.lang.Exception
Compiler
generateClass in class Compilerjava.io.FileNotFoundException
JasperException
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||