java.lang.Iterable<ClassFile>
, ClassFileIterator
public class JarFileIterator extends java.lang.Object implements ClassFileIterator
Constructor | Description |
---|---|
JarFileIterator(java.io.InputStream stream) |
Construct an iterator over a jar stream
|
Modifier and Type | Method | Description |
---|---|---|
ClassFile |
getNextClassFile() |
Get the next ClassFile object from the jar
|
iterator
public JarFileIterator(java.io.InputStream stream) throws java.io.IOException
stream
- the basic input stream from which the Jar is receivedjava.io.IOException
- if the jar stream cannot be createdpublic ClassFile getNextClassFile()
getNextClassFile
in interface ClassFileIterator