Class CollectionMetadataExtractor

java.lang.Object
gov.nasa.pds.registry.common.meta.CollectionMetadataExtractor

public class CollectionMetadataExtractor extends Object
Extracts collection metadata
Author:
karpenko
  • Constructor Details

    • CollectionMetadataExtractor

      public CollectionMetadataExtractor() throws Exception
      Constructor
      Throws:
      Exception - an exception
  • Method Details

    • extractInventoryFileNames

      public Set<String> extractInventoryFileNames(Document doc) throws Exception
      Extract collection inventory file names
      Parameters:
      doc - Parsed collection label (XML DOM)
      Returns:
      a set of files (usually there is only one inventory file)
      Throws:
      Exception - an exception