edu.rice.cs.drjava.model.compiler
Class JavacFromClasspath

java.lang.Object
  |
  +--edu.rice.cs.drjava.model.compiler.CompilerProxy
        |
        +--edu.rice.cs.drjava.model.compiler.JavacFromClasspath
All Implemented Interfaces:
CompilerInterface

public class JavacFromClasspath
extends CompilerProxy

A compiler interface to find Javac from the classpath, but to do so via a compiler proxy so that the compiler classes can be fully unloaded/reloaded every time it is used.

Version:
$Id: JavacFromClasspath.java,v 1.2 2002/04/17 20:07:03 theoyaung Exp $

Field Summary
static CompilerInterface ONLY
           
 
Fields inherited from class edu.rice.cs.drjava.model.compiler.CompilerProxy
_className, _newLoader, _realCompiler, _useOldLoader
 
Constructor Summary
private JavacFromClasspath()
          Private constructor due to singleton.
 
Method Summary
 String getName()
          Returns the name of this compiler, appropriate to show to the user.
 
Methods inherited from class edu.rice.cs.drjava.model.compiler.CompilerProxy
_recreateCompiler, addToBootClassPath, compile, compile, isAvailable, setAllowAssertions, setExtraClassPath, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

ONLY

public static final CompilerInterface ONLY
Constructor Detail

JavacFromClasspath

private JavacFromClasspath()
Private constructor due to singleton.
Method Detail

getName

public String getName()
Description copied from class: CompilerProxy
Returns the name of this compiler, appropriate to show to the user.
Overrides:
getName in class CompilerProxy