| edu.rice.cs.drjava.model.compiler.CompilerInterface
All known Subclasses: edu.rice.cs.drjava.model.compiler.NoCompilerAvailable, edu.rice.cs.drjava.model.compiler.JavacCompiler,
CompilerInterface | public interface CompilerInterface (Code) | | The minimum interface that a compiler must meet to be used by DrJava.
version: $Id: CompilerInterface.java 4255 2007-08-28 19:17:37Z mgricken $ |
compile | List<? extends CompilerError> compile(List<? extends File> files, List<? extends File> classPath, List<? extends File> sourcePath, File destination, List<? extends File> bootClassPath, String sourceVersion, boolean showWarnings)(Code) | | Compile the given files.
Parameters: files - Source files to compile. Parameters: classPath - Support jars or directories that should be on the classpath. If @code{null}, the default is used. Parameters: sourcePath - Location of additional sources to be compiled on-demand. If @code{null}, the default is used. Parameters: destination - Location (directory) for compiled classes. If @code{null}, the default in-place location is used. Parameters: bootClassPath - The bootclasspath (contains Java API jars or directories); should be consistent with @code{sourceVersion} If @code{null}, the default is used. Parameters: sourceVersion - The language version of the sources. Should be consistent with @code{bootClassPath}. If @code{null},the default is used. Parameters: showWarnings - Whether compiler warnings should be shown or ignored. Errors that occurred. If no errors, should be zero length (not null). |
getDescription | String getDescription()(Code) | | Returns a one-line description of the compiler (such as the name and file location)
|
getName | String getName()(Code) | | Returns the name of this compiler, appropriate to show to the user.
|
isAvailable | boolean isAvailable()(Code) | | Indicates whether this compiler is actually available. As in: Is it installed and located? This method
should load the compiler class, which should hopefully prove whether the class can load. If this
method returns true, the
CompilerInterface.compile method should not fail due to class not being found.
|
toString | String toString()(Code) | | String to display in a combo box (generally
getName() )
|
version | JavaVersion version()(Code) | | The latest version of Java supported by the compiler
|
|
|