Package org.scannotation.archiveiterator
Interface StreamIterator
- All Known Implementing Classes:
FileIterator
,JarIterator
public interface StreamIterator
Simpler iterator than java.util.iterator. Things like JarInputStream does not allow you to implement hasNext()
- Version:
- $Revision: 1 $
-
Method Details
-
next
InputStream next()User is resposible for closing the InputStream returned- Returns:
- null if no more streams left to iterate on
-
close
void close()Cleanup any open resources of the iterator
-