Interface MetaDataIterator
- All Superinterfaces:
Closeable
- All Known Implementing Classes:
ClassMetaDataIterator, ClasspathMetaDataIterator, FileMetaDataIterator, JarFileURLMetaDataIterator, MetaDataIteratorChain, ResourceMetaDataIterator, URLMetaDataIterator, ZipFileMetaDataIterator, ZipStreamMetaDataIterator
Iterator over metadata resources.
- Author:
- Abe White
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Close the resources used by this iterator.getFile()Return the last-iterated metadata resource content as a file, or null if not an extant file.Return the last-iterated metadata resource content as a stream.booleanhasNext()Return whether there is another resource to iterate over.next()Return the next metadata resource.
-
Method Details
-
hasNext
Return whether there is another resource to iterate over.- Throws:
IOException
-
next
-
getInputStream
Return the last-iterated metadata resource content as a stream.- Throws:
IOException
-
getFile
Return the last-iterated metadata resource content as a file, or null if not an extant file.- Throws:
IOException
-
close
-