Package org.apache.xbean.finder.archive
Class ClasspathArchive
java.lang.Object
org.apache.xbean.finder.archive.CompositeArchive
org.apache.xbean.finder.archive.ClasspathArchive
- All Implemented Interfaces:
Iterable<Archive.Entry>
,Archive
Supports JarArchive and FileArchive URLs
- Version:
- $Rev$ $Date$
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.xbean.finder.archive.Archive
Archive.Entry
-
Constructor Summary
ConstructorsConstructorDescriptionClasspathArchive
(ClassLoader loader, Iterable<URL> urls) ClasspathArchive
(ClassLoader loader, URL... urls) -
Method Summary
Modifier and TypeMethodDescriptionstatic Archive
archive
(ClassLoader loader, URL location) archives
(ClassLoader loader, Iterable<URL> urls) archives
(ClassLoader loader, URL... urls) getBytecode
(String className) Class<?>
Methods inherited from class org.apache.xbean.finder.archive.CompositeArchive
iterator
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
ClasspathArchive
-
ClasspathArchive
-
-
Method Details
-
archives
-
archive
-
archives
-
getBytecode
- Specified by:
getBytecode
in interfaceArchive
- Overrides:
getBytecode
in classCompositeArchive
- Throws:
IOException
ClassNotFoundException
-
loadClass
- Specified by:
loadClass
in interfaceArchive
- Overrides:
loadClass
in classCompositeArchive
- Throws:
ClassNotFoundException
-