public class CompositeArchive extends java.lang.Object implements Archive
Modifier and Type | Class and Description |
---|---|
private static class |
CompositeArchive.CompositeIterator |
Archive.Entry
Modifier and Type | Field and Description |
---|---|
private java.util.List<Archive> |
archives |
Constructor and Description |
---|
CompositeArchive(Archive... archives) |
CompositeArchive(java.lang.Iterable<Archive> archives) |
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
getBytecode(java.lang.String className) |
java.util.Iterator<Archive.Entry> |
iterator() |
java.lang.Class<?> |
loadClass(java.lang.String className) |
private final java.util.List<Archive> archives
public CompositeArchive(Archive... archives)
public CompositeArchive(java.lang.Iterable<Archive> archives)
public java.io.InputStream getBytecode(java.lang.String className) throws java.io.IOException, java.lang.ClassNotFoundException
getBytecode
in interface Archive
java.io.IOException
java.lang.ClassNotFoundException
public java.lang.Class<?> loadClass(java.lang.String className) throws java.lang.ClassNotFoundException
public java.util.Iterator<Archive.Entry> iterator()
iterator
in interface java.lang.Iterable<Archive.Entry>