Class BundleCrawler
- java.lang.Object
-
- gov.nasa.jpl.oodt.cas.crawl.config.ProductCrawlerBean
-
- gov.nasa.jpl.oodt.cas.crawl.ProductCrawler
-
- gov.nasa.pds.harvest.search.crawler.PDSProductCrawler
-
- gov.nasa.pds.harvest.search.crawler.CollectionCrawler
-
- gov.nasa.pds.harvest.search.crawler.BundleCrawler
-
- All Implemented Interfaces:
gov.nasa.jpl.oodt.cas.commons.spring.SpringSetIdInjectionType
,gov.nasa.jpl.oodt.cas.filemgr.metadata.CoreMetKeys
public class BundleCrawler extends CollectionCrawler
A crawler class for a PDS Bundle file.- Author:
- mcayanan
-
-
Field Summary
-
Fields inherited from class gov.nasa.pds.harvest.search.crawler.PDSProductCrawler
inPersistanceMode, touchedFiles
-
-
Constructor Summary
Constructors Constructor Description BundleCrawler(Pds4MetExtractorConfig extractorConfig)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
crawl(File bundle)
Crawl a PDS4 bundle file.-
Methods inherited from class gov.nasa.pds.harvest.search.crawler.PDSProductCrawler
addAction, addActions, addKnownMetadata, getActions, getMetadataForProduct, getMetExtractorConfig, passesPreconditions, setCounter, setDirectoryFilter, setFileFilter, setInPersistanceMode, setMetExtractorConfig, setSearchUrl
-
Methods inherited from class gov.nasa.jpl.oodt.cas.crawl.ProductCrawler
clearIngestStatus, crawl, getIngestStatus, handleFile, setActionRepo
-
Methods inherited from class gov.nasa.jpl.oodt.cas.crawl.config.ProductCrawlerBean
addRequiredMetadata, getActionIds, getApplicationContext, getDaemonPort, getDaemonWait, getFilemgrUrl, getGlobalMetadata, getId, getIngester, getProductPath, getRequiredMetadata, isCrawlForDirs, isNoRecur, isSkipIngest, setActionIds, setApplicationContext, setCrawlForDirs, setDaemonPort, setDaemonWait, setFilemgrUrl, setGlobalMetadata, setId, setIngester, setNoRecur, setProductPath, setRequiredMetadata, setSkipIngest
-
-
-
-
Constructor Detail
-
BundleCrawler
public BundleCrawler(Pds4MetExtractorConfig extractorConfig)
Constructor.- Parameters:
extractorConfig
- A configuration object for the metadata extractor.
-
-
Method Detail
-
crawl
public void crawl(File bundle)
Crawl a PDS4 bundle file. The bundle will be registered first, then the method will proceed to crawling the collection file it points to.- Overrides:
crawl
in classCollectionCrawler
- Parameters:
bundle
- The PDS4 bundle file.- Throws:
InventoryReaderException
-
-