public class Classpath
extends java.lang.Object
implements java.lang.Iterable<java.io.File>
Constructor and Description |
---|
Classpath() |
Classpath(java.lang.String initial) |
Modifier and Type | Method and Description |
---|---|
boolean |
addClasspath(java.lang.String s) |
boolean |
addComponent(java.io.File path) |
boolean |
addComponent(java.lang.String component) |
int |
count() |
void |
dump(java.io.PrintStream out) |
java.lang.ClassLoader |
getClassLoader() |
java.util.List<java.io.File> |
getElements() |
boolean |
isEmpty() |
java.util.Iterator<java.io.File> |
iterator() |
void |
overlay(Classpath other)
Overlay another classpath, copying its elements into place on this Classpath, while eliminating duplicate entries on the classpath.
|
java.lang.String |
toString() |
public Classpath()
public Classpath(java.lang.String initial)
public boolean addClasspath(java.lang.String s)
public boolean addComponent(java.io.File path)
public boolean addComponent(java.lang.String component)
public int count()
public void dump(java.io.PrintStream out)
public java.lang.ClassLoader getClassLoader()
public java.util.List<java.io.File> getElements()
public boolean isEmpty()
public java.util.Iterator<java.io.File> iterator()
iterator
in interface java.lang.Iterable<java.io.File>
public void overlay(Classpath other)
other
- the other classpath to overlaypublic java.lang.String toString()
toString
in class java.lang.Object
Copyright © 1995–2023 Webtide. All rights reserved.