org.apache.xbean.finder.archive
Class JarArchive
java.lang.Object
org.apache.xbean.finder.archive.JarArchive
- All Implemented Interfaces:
- java.lang.Iterable<Archive.Entry>, Archive
public class JarArchive
- extends java.lang.Object
- implements Archive
- Version:
- $Rev$ $Date$
| Nested classes/interfaces inherited from interface org.apache.xbean.finder.archive.Archive |
Archive.Entry |
|
Constructor Summary |
JarArchive(java.lang.ClassLoader loader,
java.net.URL url)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JarArchive
public JarArchive(java.lang.ClassLoader loader,
java.net.URL url)
getUrl
public java.net.URL getUrl()
getBytecode
public java.io.InputStream getBytecode(java.lang.String className)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Specified by:
getBytecode in interface Archive
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
loadClass
public java.lang.Class<?> loadClass(java.lang.String className)
throws java.lang.ClassNotFoundException
- Specified by:
loadClass in interface Archive
- Throws:
java.lang.ClassNotFoundException
iterator
public java.util.Iterator<Archive.Entry> iterator()
- Specified by:
iterator in interface java.lang.Iterable<Archive.Entry>
Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.