Class PDS3ProductCrawler
- 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.PDS3ProductCrawler
 
 
 
 
- 
- All Implemented Interfaces:
- gov.nasa.jpl.oodt.cas.commons.spring.SpringSetIdInjectionType,- gov.nasa.jpl.oodt.cas.filemgr.metadata.CoreMetKeys
 - Direct Known Subclasses:
- PDS3FileCrawler
 
 public class PDS3ProductCrawler extends PDSProductCrawler Class to crawl PDS3 data products.- Author:
- mcayanan
 
- 
- 
Field Summary- 
Fields inherited from class gov.nasa.pds.harvest.search.crawler.PDSProductCrawlerinPersistanceMode, touchedFiles
 
- 
 - 
Constructor SummaryConstructors Constructor Description PDS3ProductCrawler()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected gov.nasa.jpl.oodt.cas.metadata.MetadatagetMetadataForProduct(File product)Extracts metadata from the given product.Pds3MetExtractorConfiggetPDS3MetExtractorConfig()Gets the PDS3 metextractor configuration object.protected booleanpassesPreconditions(File product)Determines whether the supplied file passes the necessary pre-conditions for the file to be registered.voidsetPDS3MetExtractorConfig(Pds3MetExtractorConfig config)Sets the PDS3 metextractor configuration.- 
Methods inherited from class gov.nasa.pds.harvest.search.crawler.PDSProductCrawleraddAction, addActions, addKnownMetadata, crawl, getActions, getMetExtractorConfig, 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
 
- 
 
- 
- 
- 
Method Detail- 
getPDS3MetExtractorConfigpublic Pds3MetExtractorConfig getPDS3MetExtractorConfig() Gets the PDS3 metextractor configuration object.- Returns:
- Return the configuration object.
 
 - 
setPDS3MetExtractorConfigpublic void setPDS3MetExtractorConfig(Pds3MetExtractorConfig config) Sets the PDS3 metextractor configuration.- Parameters:
- config- A configuration object.
 
 - 
getMetadataForProductprotected gov.nasa.jpl.oodt.cas.metadata.Metadata getMetadataForProduct(File product) Extracts metadata from the given product.- Overrides:
- getMetadataForProductin class- PDSProductCrawler
- Parameters:
- product- A PDS file.
- Returns:
- A Metadata object, which holds metadata from the product.
 
 - 
passesPreconditionsprotected boolean passesPreconditions(File product) Determines whether the supplied file passes the necessary pre-conditions for the file to be registered.- Overrides:
- passesPreconditionsin class- PDSProductCrawler
- Parameters:
- product- A file.
- Returns:
- true if the file passes.
 
 
- 
 
-