Interface MetaDataIterator

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method 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.
    • Method Detail

      • hasNext

        boolean hasNext()
                 throws java.io.IOException
        Return whether there is another resource to iterate over.
        Throws:
        java.io.IOException
      • next

        java.lang.Object next()
                       throws java.io.IOException
        Return the next metadata resource.
        Throws:
        java.io.IOException
      • getInputStream

        java.io.InputStream getInputStream()
                                    throws java.io.IOException
        Return the last-iterated metadata resource content as a stream.
        Throws:
        java.io.IOException
      • getFile

        java.io.File getFile()
                      throws java.io.IOException
        Return the last-iterated metadata resource content as a file, or null if not an extant file.
        Throws:
        java.io.IOException
      • close

        void close()
        Close the resources used by this iterator.
        Specified by:
        close in interface Closeable