Class JarFileIterator
- java.lang.Object
- 
- org.apache.tools.ant.taskdefs.optional.depend.JarFileIterator
 
- 
- All Implemented Interfaces:
- java.lang.Iterable<ClassFile>,- ClassFileIterator
 
 public class JarFileIterator extends java.lang.Object implements ClassFileIterator A class file iterator which iterates through the contents of a Java jar file.
- 
- 
Constructor SummaryConstructors Constructor Description JarFileIterator(java.io.InputStream stream)Construct an iterator over a jar stream
 - 
Method SummaryModifier and Type Method Description ClassFilegetNextClassFile()Get the next ClassFile object from the jar- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.apache.tools.ant.taskdefs.optional.depend.ClassFileIteratoriterator
 
- 
 
- 
- 
- 
Method Detail- 
getNextClassFilepublic ClassFile getNextClassFile() Get the next ClassFile object from the jar- Specified by:
- getNextClassFilein interface- ClassFileIterator
- Returns:
- a ClassFile object describing the class from the jar
 
 
- 
 
-