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
IOException
Object next() throws IOException
IOException
InputStream getInputStream() throws IOException
IOException
File getFile() throws IOException
IOException
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.