|
||||||||||
| 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(URL jarUrl,
String classFileName)
Associates a class with a JAR. |
void |
addAll(URL jarUrl,
Collection<String> classFileNames)
Associates all the given classes with a JAR. |
JarSet |
getJarsForClass(String classFileName)
Returns a set of JAR URLs which contain a given class. |
SortedMap<String,Set<URL>> |
getJarUrlsByClass()
|
Iterator<String> |
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(URL jarUrl,
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(URL jarUrl,
Collection<String> 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 Iterator<String> iterator()
iterator in interface Iterable<String>public int size()
public JarSet getJarsForClass(String classFileName)
classFileName - the name of the class file, in the form "java/lang/String.class".
public SortedMap<String,Set<URL>> getJarUrlsByClass()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||