Iterable<Archive.Entry>, Archivepublic class JarArchive extends Object implements Archive
Archive.Entry| Constructor | Description |
|---|---|
JarArchive(ClassLoader loader,
URL url) |
| Modifier and Type | Method | Description |
|---|---|---|
InputStream |
getBytecode(String className) |
|
URL |
getUrl() |
|
Iterator<Archive.Entry> |
iterator() |
|
Class<?> |
loadClass(String className) |
forEach, spliteratorpublic 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–2018. All rights reserved.