org.eclipse.jetty.start
类 Classpath

java.lang.Object
  继承者 org.eclipse.jetty.start.Classpath

public class Classpath
extends Object

Class to handle CLASSPATH construction


构造方法摘要
Classpath()
           
Classpath(String initial)
           
 
方法摘要
 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()
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

Classpath

public Classpath()

Classpath

public Classpath(String initial)
方法详细信息

getElements

public File[] getElements()

count

public int count()

addComponent

public boolean addComponent(String component)

addComponent

public boolean addComponent(File component)

addClasspath

public boolean addClasspath(String s)

dump

public void dump(PrintStream out)

toString

public String toString()
覆盖:
Object 中的 toString

getClassLoader

public ClassLoader getClassLoader()

overlay

public void overlay(Classpath cpOther)
Overlay another classpath, copying its elements into place on this Classpath, while eliminating duplicate entries on the classpath.

参数:
cpOther - the other classpath to overlay

isEmpty

public boolean isEmpty()


Copyright © 2013. All Rights Reserved.