public interface MetaDataIterator extends Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the resources used by this iterator.
|
File |
getFile()
Return the last-iterated metadata resource content as a file, or null
if not an extant file.
|
InputStream |
getInputStream()
Return the last-iterated metadata resource content as a stream.
|
boolean |
hasNext()
Return whether there is another resource to iterate over.
|
Object |
next()
Return the next metadata resource.
|
boolean hasNext()
throws IOException
IOExceptionObject next() throws IOException
IOExceptionInputStream getInputStream() throws IOException
IOExceptionFile getFile() throws IOException
IOExceptionCopyright © 2006–2022 Apache Software Foundation. All rights reserved.