|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.util.classpath.ClasspathClasses
public class ClasspathClasses
Classes on the classpath and the JARs that contain them.
| Constructor Summary | |
|---|---|
ClasspathClasses()
|
|
| Method Summary | |
|---|---|
void |
add(java.net.URL jarUrl,
java.lang.String classFileName)
Associates a class with a JAR. |
void |
addAll(java.net.URL jarUrl,
java.util.Collection classFileNames)
Associates all the given classes with a JAR. |
JarSet |
getJarsForClass(java.lang.String classFileName)
Returns a set of JAR URLs which contain a given class. |
java.util.Iterator |
iterator()
Returns an iterator over the class files on the classpath. |
int |
size()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClasspathClasses()
| Method Detail |
|---|
public void add(java.net.URL jarUrl,
java.lang.String classFileName)
jarUrl - the URL of a JAR on the classpathclassFileName - the name of a class file in the JAR, in the form "java/lang/String.class"
public void addAll(java.net.URL jarUrl,
java.util.Collection classFileNames)
jarUrl - the URL of a JAR on the classpathclassFileNames - the class file names in the JAR, in the form "java/lang/String.class"public java.util.Iterator iterator()
public int size()
public JarSet getJarsForClass(java.lang.String classFileName)
classFileName - the name of the class file, in the form "java/lang/String.class".
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||