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, setPDS3MetExtractorConfig
addAction, addActions, addKnownMetadata, crawl, getActions, getMetExtractorConfig, getRegistryIngester, getRegistryUrl, setDirectoryFilter, setInPersistanceMode, setMetExtractorConfig, setProperties, setRegistryUrl
clearIngestStatus, crawl, getIngestStatus, handleFile, setActionRepo
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
public void setFileFilter(FileFilter filter)
PDSProductCrawler
setFileFilter
in class PDSProductCrawler
filter
- A File Filter defined in the Harvest policy config.protected gov.nasa.jpl.oodt.cas.metadata.Metadata getMetadataForProduct(File product)
PDS3ProductCrawler
getMetadataForProduct
in class PDS3ProductCrawler
product
- A PDS file.protected boolean passesPreconditions(File product)
PDS3ProductCrawler
passesPreconditions
in class PDS3ProductCrawler
product
- A file.public void setGenerateChecksums(boolean value)
value
- 'true' to turn on, 'false' to turn off.Copyright © 2010–2015 Planetary Data System. All rights reserved.