Class CollectionCrawler

  • All Implemented Interfaces:
    gov.nasa.jpl.oodt.cas.commons.spring.SpringSetIdInjectionType, gov.nasa.jpl.oodt.cas.filemgr.metadata.CoreMetKeys
    Direct Known Subclasses:
    BundleCrawler

    public class CollectionCrawler
    extends PDSProductCrawler
    A crawler class for a PDS Collection file.
    Author:
    mcayanan
    • Constructor Detail

      • CollectionCrawler

        public CollectionCrawler​(Pds4MetExtractorConfig extractorConfig)
        Constructor.
        Parameters:
        extractorConfig - A configuration class for the metadata extractor.
    • Method Detail

      • crawl

        public void crawl​(File collection)
        Crawl a PDS4 collection file. Method will register the collection first before attempting to register the product files it is pointing to.
        Overrides:
        crawl in class PDSProductCrawler
        Parameters:
        collection - The PDS4 Collection file.