|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JavaCompiler
The interface for Java compiler implementations.
| Method Summary | |
|---|---|
boolean |
compile(java.lang.String pathToJavaSource,
java.lang.String outputDirectory,
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. |
| Method Detail |
|---|
boolean compile(java.lang.String pathToJavaSource,
java.lang.String outputDirectory,
java.lang.String[] classpath)
throws java.lang.Exception
pathToJavaSource - Path to the source file to compile.outputDirectory - Path to the output directory under which to generate the
.class fileclasspath - The class path to use for compilation.
java.lang.Exceptionboolean isAvailable()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||