|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.apache.jasper.compiler.SunJavaCompiler
The default compiler. This is the javac present in JDK 1.1.x and JDK 1.2. At some point we need to make sure there is a class like this for JDK 1.3, and other javac-like animals that people want to use.
| Constructor Summary | |
SunJavaCompiler()
|
|
| Method Summary | |
boolean |
compile(java.lang.String source)
Execute the compiler |
void |
setClassDebugInfo(boolean classDebugInfo)
Set if you want debugging information in the class file |
void |
setClasspath(java.lang.String classpath)
Set the class path for the compiler |
void |
setCompilerPath(java.lang.String compilerPath)
Specify where the compiler can be found |
void |
setEncoding(java.lang.String encoding)
Set the encoding (character set) of the source |
void |
setMsgOutput(java.io.OutputStream out)
Set where you want the compiler output (messages) to go |
void |
setOut(java.io.OutputStream out)
Set where you want the compiler output (messages) to go |
void |
setOutputDir(java.lang.String outdir)
Set the output directory |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SunJavaCompiler()
| Method Detail |
public void setCompilerPath(java.lang.String compilerPath)
setCompilerPath in interface JavaCompilerpublic void setEncoding(java.lang.String encoding)
setEncoding in interface JavaCompilerpublic void setClasspath(java.lang.String classpath)
setClasspath in interface JavaCompilerpublic void setOutputDir(java.lang.String outdir)
setOutputDir in interface JavaCompilerpublic void setMsgOutput(java.io.OutputStream out)
setMsgOutput in interface JavaCompilerpublic void setOut(java.io.OutputStream out)
public void setClassDebugInfo(boolean classDebugInfo)
setClassDebugInfo in interface JavaCompilerpublic boolean compile(java.lang.String source)
JavaCompilercompile in interface JavaCompilerorg.apache.jasper.compiler.JavaCompilersource - - file name of the source to be compiled
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||