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.PDSProductCrawlerinPersistanceMode, touchedFiles
 
- 
 - 
Constructor SummaryConstructors Constructor Description BundleCrawler(Pds4MetExtractorConfig extractorConfig)Constructor.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcrawl(File bundle)Crawl a PDS4 bundle file.- 
Methods inherited from class gov.nasa.pds.harvest.search.crawler.PDSProductCrawleraddAction, addActions, addKnownMetadata, getActions, getMetadataForProduct, getMetExtractorConfig, passesPreconditions, setCounter, setDirectoryFilter, setFileFilter, setInPersistanceMode, setMetExtractorConfig, setSearchUrl
 - 
Methods inherited from class gov.nasa.jpl.oodt.cas.crawl.ProductCrawlerclearIngestStatus, crawl, getIngestStatus, handleFile, setActionRepo
 - 
Methods inherited from class gov.nasa.jpl.oodt.cas.crawl.config.ProductCrawlerBeanaddRequiredMetadata, 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- 
BundleCrawlerpublic BundleCrawler(Pds4MetExtractorConfig extractorConfig) Constructor.- Parameters:
- extractorConfig- A configuration object for the metadata extractor.
 
 
- 
 - 
Method Detail- 
crawlpublic 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:
- crawlin class- CollectionCrawler
- Parameters:
- bundle- The PDS4 bundle file.
- Throws:
- InventoryReaderException
 
 
- 
 
-