Iterable<Archive.Entry>
, Archive
public 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, spliterator
public JarArchive(ClassLoader loader, URL url)
public URL getUrl()
public InputStream getBytecode(String className) throws IOException, ClassNotFoundException
getBytecode
in interface Archive
IOException
ClassNotFoundException
public Class<?> loadClass(String className) throws ClassNotFoundException
loadClass
in interface Archive
ClassNotFoundException
public Iterator<Archive.Entry> iterator()
iterator
in interface Iterable<Archive.Entry>
Copyright © 2005–2018. All rights reserved.