Package org.eclipse.jetty.start
Class Classpath
- java.lang.Object
-
- org.eclipse.jetty.start.Classpath
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddClasspath(String s)booleanaddComponent(File path)booleanaddComponent(String component)intcount()voiddump(PrintStream out)ClassLoadergetClassLoader()List<File>getElements()booleanisEmpty()Iterator<File>iterator()voidoverlay(Classpath other)Overlay another classpath, copying its elements into place on this Classpath, while eliminating duplicate entries on the classpath.StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
Classpath
public Classpath()
-
Classpath
public Classpath(String initial)
-
-
Method Detail
-
addClasspath
public boolean addClasspath(String s)
-
addComponent
public boolean addComponent(File path)
-
addComponent
public boolean addComponent(String component)
-
count
public int count()
-
dump
public void dump(PrintStream out)
-
getClassLoader
public ClassLoader getClassLoader()
-
isEmpty
public boolean isEmpty()
-
overlay
public void overlay(Classpath other)
Overlay another classpath, copying its elements into place on this Classpath, while eliminating duplicate entries on the classpath.- Parameters:
other- the other classpath to overlay
-
-