| |
|
| java.lang.Object org.apache.harmony.rmi.common.JavaCompiler org.apache.harmony.rmi.common.ExecJavaCompiler
ExecJavaCompiler | public class ExecJavaCompiler extends JavaCompiler (Code) | | This class represents a Java Compiler executed as an external program.
author: Vasily Zakharov version: $Revision: 1.1.2.3 $ |
Constructor Summary | |
protected | ExecJavaCompiler() Creates uninitialized instance of this class. | public | ExecJavaCompiler(boolean search) Configures this class to use the
to compile. | public | ExecJavaCompiler(String programName) Configures this class to use the specified program to compile.
If programName is null , tries to locate
the Javac executable at
ExecJavaCompiler.JAVA_HOME_VARIABLE JAVA_HOME location.
Parameters: programName - Name of the program to execute. |
Method Summary | |
protected int | run(String[] args) Runs the compilation process with the specified arguments.
Parameters: args - Full arguments list. |
DEFAULT_COMPILER_PROGRAM | final public static String DEFAULT_COMPILER_PROGRAM(Code) | | Default name of a program to execute.
|
JAVA_COMPILER_PATTERN | final public static String JAVA_COMPILER_PATTERN(Code) | | File name pattern describing Javac executable file name.
|
JAVA_HOME_VARIABLE | final public static String JAVA_HOME_VARIABLE(Code) | | Name of the system variable specifying the Java location.
|
ExecJavaCompiler | protected ExecJavaCompiler()(Code) | | Creates uninitialized instance of this class.
Note that using this constructor in most cases
requires overriding
ExecJavaCompiler.run(String[]) method.
|
Fields inherited from org.apache.harmony.rmi.common.JavaCompiler | protected String[] compilerOptions(Code)(Java Doc)
|
|
|
|