public class Classpath extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
addClasspath(String s) |
boolean |
addComponent(File component) |
boolean |
addComponent(String component) |
int |
count() |
void |
dump(PrintStream out) |
ClassLoader |
getClassLoader() |
File[] |
getElements() |
boolean |
isEmpty() |
void |
overlay(Classpath cpOther)
Overlay another classpath, copying its elements into place on this
Classpath, while eliminating duplicate entries on the classpath.
|
String |
toString() |
public Classpath()
public Classpath(String initial)
public File[] getElements()
public int count()
public boolean addComponent(String component)
public boolean addComponent(File component)
public boolean addClasspath(String s)
public void dump(PrintStream out)
public ClassLoader getClassLoader()
public void overlay(Classpath cpOther)
cpOther
- the other classpath to overlaypublic boolean isEmpty()
Copyright © 1995-2015 Mort Bay Consulting. All Rights Reserved.