|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.rice.cs.drjava.model.repl.newjvm.ClassPathManager
public class ClassPathManager
Maintains a dynamic class path, allowing entries to be incrementally added in the appropriate place in the list. This class is used in the interpreter JVM, and may be accessed concurrently.
Constructor Summary | |
---|---|
ClassPathManager(Iterable<File> builtInCP)
|
Method Summary | |
---|---|
void |
addBuildDirectoryCP(File f)
Adds the entry to the front of the build classpath. |
void |
addExternalFilesCP(File f)
Adds new entry containing f to the front of the external classpath. |
void |
addExtraCP(File f)
Adds the entry to the front of the extra classpath. |
void |
addProjectCP(File f)
Adds the entry to the front of the project classpath (this is the classpath specified in project properties) |
void |
addProjectFilesCP(File f)
Adds the entry to the front of the project files classpath (this is the classpath for all open project files). |
Iterable<File> |
getBuildDirectoryCP()
|
Iterable<File> |
getClassPath()
|
Iterable<File> |
getExternalFilesCP()
|
Iterable<File> |
getExtraCP()
|
Iterable<File> |
getProjectCP()
|
Iterable<File> |
getProjectFilesCP()
|
ClassLoader |
makeClassLoader(ClassLoader parent)
Create a new class loader based on the given path. |
ClassLoader |
value(ClassLoader parent)
Lambda value method |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClassPathManager(Iterable<File> builtInCP)
Method Detail |
---|
public void addProjectCP(File f)
public Iterable<File> getProjectCP()
public void addBuildDirectoryCP(File f)
public Iterable<File> getBuildDirectoryCP()
public void addProjectFilesCP(File f)
public Iterable<File> getProjectFilesCP()
public void addExternalFilesCP(File f)
public Iterable<File> getExternalFilesCP()
public void addExtraCP(File f)
public Iterable<File> getExtraCP()
public ClassLoader makeClassLoader(ClassLoader parent)
parent
- The parent class loader. May be null
, signifying the bootstrap
class loader.public ClassLoader value(ClassLoader parent)
value
in interface Lambda<ClassLoader,ClassLoader>
public Iterable<File> getClassPath()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |