|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jsptest.compiler.java.CommandLineJavac
public class CommandLineJavac
| Constructor Summary | |
|---|---|
CommandLineJavac()
|
|
| Method Summary | |
|---|---|
boolean |
compile(java.lang.String srcFile,
java.lang.String destDir,
java.lang.String[] classpath)
Compiles the given .java source file into the given .class file using an explicitly set class path. |
boolean |
isAvailable()
Indicates whether this Java compiler implementation is available on the current system. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CommandLineJavac()
| Method Detail |
|---|
public boolean compile(java.lang.String srcFile,
java.lang.String destDir,
java.lang.String[] classpath)
throws java.lang.Exception
JavaCompiler
compile in interface JavaCompilersrcFile - Path to the source file to compile.destDir - Path to the output directory under which to generate the
.class fileclasspath - The class path to use for compilation.
java.lang.Exceptionpublic boolean isAvailable()
JavaCompiler
isAvailable in interface JavaCompiler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||