|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.rice.cs.drjava.model.compiler.NoCompilerAvailable
public class NoCompilerAvailable
A CompilerInterface implementation for signifying that no compiler is available.
Field Summary | |
---|---|
static CompilerInterface |
ONLY
|
Method Summary | |
---|---|
List<? extends DJError> |
compile(List<? extends File> files,
List<? extends File> classPath,
List<? extends File> sourcePath,
File destination,
List<? extends File> bootClassPath,
String sourceVersion,
boolean showWarnings)
Compile the given files. |
String |
getDescription()
Returns a one-line description of the compiler (such as the name and file location) |
String |
getName()
Returns the name of this compiler, appropriate to show to the user. |
boolean |
isAvailable()
Indicates whether this compiler is actually available. |
String |
toString()
The toString() of this class is displayed in the "Compiler" drop down on the compiler tab. |
JavaVersion |
version()
The latest version of Java supported by the compiler |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final CompilerInterface ONLY
Method Detail |
---|
public boolean isAvailable()
CompilerInterface
CompilerInterface.compile(java.util.List extends java.io.File>, java.util.List extends java.io.File>, java.util.List extends java.io.File>, java.io.File, java.util.List extends java.io.File>, java.lang.String, boolean)
method should not fail due to class not being found.
isAvailable
in interface CompilerInterface
public List<? extends DJError> compile(List<? extends File> files, List<? extends File> classPath, List<? extends File> sourcePath, File destination, List<? extends File> bootClassPath, String sourceVersion, boolean showWarnings)
CompilerInterface
compile
in interface CompilerInterface
files
- Source files to compile.classPath
- Support jars or directories that should be on the classpath. If @code{null}, the default is used.sourcePath
- Location of additional sources to be compiled on-demand. If @code{null}, the default is used.destination
- Location (directory) for compiled classes. If @code{null}, the default in-place location is used.bootClassPath
- The bootclasspath (contains Java API jars or directories); should be consistent with @code{sourceVersion}
If @code{null}, the default is used.sourceVersion
- The language version of the sources. Should be consistent with @code{bootClassPath}. If @code{null},
the default is used.showWarnings
- Whether compiler warnings should be shown or ignored.
public JavaVersion version()
CompilerInterface
version
in interface CompilerInterface
public String getName()
CompilerInterface
getName
in interface CompilerInterface
public String getDescription()
CompilerInterface
getDescription
in interface CompilerInterface
public String toString()
toString
in interface CompilerInterface
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |