![JAR search and dependency download from the Maven repository](/logo.png)
org.scannotation.archiveiterator.StreamIterator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scannotation Show documentation
Show all versions of scannotation Show documentation
Scannotation is a Java library that creates an annotation database from a set of .class files
The newest version!
package org.scannotation.archiveiterator;
import java.io.InputStream;
/**
* Simpler iterator than java.util.iterator. Things like JarInputStream does not allow you to implement hasNext()
*
* @author Bill Burke
* @version $Revision: 1 $
*/
public interface StreamIterator
{
/**
* User is resposible for closing the InputStream returned
*
* @return null if no more streams left to iterate on
*/
InputStream next();
/**
* Cleanup any open resources of the iterator
*
*/
void close();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy