|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.apache.jasper.compiler.JDTJavaCompiler
public class JDTJavaCompiler
JDT class compiler. This compiler will load source dependencies from the context classloader, reducing dramatically disk access during the compilation process.
| 构造方法摘要 | |
|---|---|
JDTJavaCompiler()
|
|
| 方法摘要 | |
|---|---|
JavacErrorDetail[] |
compile(String targetClassName,
Node.Nodes pageNodes)
Start Java compilation |
void |
doJavaFile(boolean keep)
Remove/save the generated Java File from/to disk |
long |
getClassLastModified()
Return the time the class file was generated. |
Writer |
getJavaWriter(String javaFileName,
String javaEncoding)
Get a Writer for the Java file. |
void |
init(JspCompilationContext ctxt,
ErrorDispatcher errDispatcher,
boolean suppressLogging)
Initializations |
void |
release()
Release resouces used in the current compilation |
void |
saveClassFile(String className,
String classFileName)
Save the generated class file to disk, if not already done. |
void |
setClassPath(List<File> cpath)
Java Compiler options. |
void |
setDebug(boolean debug)
|
void |
setExtdirs(String exts)
|
void |
setSourceVM(String sourceVM)
|
void |
setTargetVM(String targetVM)
|
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public JDTJavaCompiler()
| 方法详细信息 |
|---|
public void init(JspCompilationContext ctxt,
ErrorDispatcher errDispatcher,
boolean suppressLogging)
public void release()
public void setExtdirs(String exts)
public void setClassPath(List<File> cpath)
public long getClassLastModified()
public Writer getJavaWriter(String javaFileName,
String javaEncoding)
throws JasperException
JasperExceptionpublic void setDebug(boolean debug)
public void setSourceVM(String sourceVM)
public void setTargetVM(String targetVM)
public void saveClassFile(String className,
String classFileName)
public void doJavaFile(boolean keep)
public JavacErrorDetail[] compile(String targetClassName,
Node.Nodes pageNodes)
throws JasperException
targetClassName - Name of the class under compilation
JasperException
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||