public class StdProductCrawler extends ProductCrawler
FileLocation
: directory absolute path to location of product
fileFilename
: name of the product file to ingestProductType
: the ProductType that will be sent to the file
manager for the product file described by the .met file.actionRepo, DIR_FILTER, FILE_FILTER, ingester, ingestStatus, LOG
FILE_LOCATION, FILE_SIZE, FILENAME, MIME_TYPE, PRODUCT_ID, PRODUCT_NAME, PRODUCT_RECEVIED_TIME, PRODUCT_STRUCTURE, PRODUCT_TYPE
Constructor and Description |
---|
StdProductCrawler() |
Modifier and Type | Method and Description |
---|---|
protected Metadata |
getMetadataForProduct(File product) |
protected boolean |
passesPreconditions(File product) |
protected File |
renameProduct(File product,
Metadata productMetadata) |
void |
setMetFileExtension(String metFileExtension) |
crawl, crawl, getIngestStatus, handleFile
getActionIds, getApplicationContext, getClientTransferer, getDaemonPort, getDaemonWait, getFilemgrUrl, getGlobalMetadata, getId, getProductPath, getRequiredMetadata, isCrawlForDirs, isNoRecur, isSkipIngest, setActionIds, setApplicationContext, setClientTransferer, setCrawlForDirs, setDaemonPort, setDaemonWait, setFilemgrUrl, setGlobalMetadata, setId, setNoRecur, setProductPath, setRequiredMetadata, setSkipIngest
protected Metadata getMetadataForProduct(File product) throws MetExtractionException
getMetadataForProduct
in class ProductCrawler
MetExtractionException
protected boolean passesPreconditions(File product)
passesPreconditions
in class ProductCrawler
protected File renameProduct(File product, Metadata productMetadata)
renameProduct
in class ProductCrawler
public void setMetFileExtension(String metFileExtension)
Copyright © 1999–2017 Apache OODT. All rights reserved.