public class PlugletCompiler extends java.lang.Object implements IPlugletCompiler
IPlugletCompiler interface.
Pluglet hosts can use this class or provide their own implementation.
| Constructor and Description |
|---|
PlugletCompiler()
Constructs a pluglet compiler.
|
PlugletCompiler(java.io.PrintWriter output,
java.lang.String jdkRoot,
boolean tracing)
Constructs a pluglet compiler.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compile(java.lang.String[] args)
Invokes the Java compiler with the given arguments.
|
public PlugletCompiler(java.io.PrintWriter output,
java.lang.String jdkRoot,
boolean tracing)
output - The host's PrintWriter for the compiler output.jdkRoot - The pathname of the JDK. For example, "C:\jdk1.3".tracing - Enable tracing.public PlugletCompiler()
public int compile(java.lang.String[] args)
IPlugletCompilercompile in interface IPlugletCompilerargs - The arguments of the compilation.