public class PDS3FileCrawler extends PDS3ProductCrawler
inPersistanceMode, touchedFiles| Constructor and Description |
|---|
PDS3FileCrawler() |
| Modifier and Type | Method and Description |
|---|---|
protected gov.nasa.jpl.oodt.cas.metadata.Metadata |
getMetadataForProduct(File product)
Extracts metadata from the given product.
|
protected boolean |
passesPreconditions(File product)
Determines whether the supplied file passes the necessary
pre-conditions for the file to be registered.
|
void |
setChecksumManifest(Map<File,String> manifest)
Set the map to represent the checksum manifest file.
|
void |
setFileFilter(FileFilter filter)
Sets the file filter for the crawler.
|
void |
setGenerateChecksums(boolean value)
Set the flag for checksum generation.
|
getPDS3MetExtractorConfig, setPDS3MetExtractorConfigaddAction, addActions, addKnownMetadata, crawl, getActions, getMetExtractorConfig, getRegistryIngester, getRegistryUrl, setDirectoryFilter, setInPersistanceMode, setMetExtractorConfig, setProperties, setRegistryUrlclearIngestStatus, crawl, getIngestStatus, handleFile, setActionRepoaddRequiredMetadata, 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, setSkipIngestpublic void setFileFilter(FileFilter filter)
PDSProductCrawlersetFileFilter in class PDSProductCrawlerfilter - A File Filter defined in the Harvest policy config.protected gov.nasa.jpl.oodt.cas.metadata.Metadata getMetadataForProduct(File product)
PDS3ProductCrawlergetMetadataForProduct in class PDS3ProductCrawlerproduct - A PDS file.protected boolean passesPreconditions(File product)
PDS3ProductCrawlerpassesPreconditions in class PDS3ProductCrawlerproduct - A file.public void setGenerateChecksums(boolean value)
value - 'true' to turn on, 'false' to turn off.Copyright © 2010–2016 Planetary Data System. All rights reserved.