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