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

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

public class Javac141FromClasspath
extends CompilerProxy

A compiler interface to find Javac (1.4.1+) 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: Javac141FromClasspath.java,v 1.1 2002/09/13 22:55:34 csreis Exp $

Field Summary
static CompilerInterface ONLY
           
 
Fields inherited from class edu.rice.cs.drjava.model.compiler.CompilerProxy
_className, _newLoader, _realCompiler, _useOldLoader
 
Constructor Summary
private Javac141FromClasspath()
          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

Javac141FromClasspath

private Javac141FromClasspath()
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