public class JarArchive extends Object implements Archive
Archive.Entry| Constructor and Description |
|---|
JarArchive(ClassLoader loader,
URL url) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getBytecode(String className) |
URL |
getUrl() |
Iterator<Archive.Entry> |
iterator() |
Class<?> |
loadClass(String className) |
public JarArchive(ClassLoader loader, URL url)
public URL getUrl()
public InputStream getBytecode(String className) throws IOException, ClassNotFoundException
getBytecode in interface ArchiveIOExceptionClassNotFoundExceptionpublic Class<?> loadClass(String className) throws ClassNotFoundException
loadClass in interface ArchiveClassNotFoundExceptionpublic Iterator<Archive.Entry> iterator()
iterator in interface Iterable<Archive.Entry>Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.