Class Classpath

java.lang.Object
org.eclipse.jetty.start.Classpath
All Implemented Interfaces:
Iterable<File>

public class Classpath extends Object implements Iterable<File>
Class to handle CLASSPATH construction
  • Constructor Details

    • Classpath

      public Classpath()
    • Classpath

      public Classpath(String initial)
  • Method Details

    • 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()
    • getElements

      public List<File> getElements()
    • isEmpty

      public boolean isEmpty()
    • iterator

      public Iterator<File> iterator()
      Specified by:
      iterator in interface Iterable<File>
    • 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
    • toString

      public String toString()
      Overrides:
      toString in class Object