public class MetExtractorProductCrawler extends ProductCrawler
A variant of the Standard Product Crawler where .met files are generated on the fly as product files are encountered.
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 |
---|
MetExtractorProductCrawler() |
Modifier and Type | Method and Description |
---|---|
protected Metadata |
getMetadataForProduct(File product) |
String |
getNamingConventionId() |
List<String> |
getPreCondIds() |
protected boolean |
passesPreconditions(File product) |
protected File |
renameProduct(File product,
Metadata productMetadata) |
void |
setMetExtractor(String metExtractor) |
void |
setMetExtractorConfig(String metExtractorConfig) |
void |
setNamingConventionId(String namingConventionId) |
void |
setPreCondIds(List<String> preCondIds) |
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) throws CrawlerActionException, NamingConventionException
renameProduct
in class ProductCrawler
CrawlerActionException
NamingConventionException
public void setMetExtractor(String metExtractor) throws MetExtractionException, InstantiationException, IllegalAccessException, ClassNotFoundException
public void setMetExtractorConfig(String metExtractorConfig) throws MetExtractionException
MetExtractionException
public void setNamingConventionId(String namingConventionId)
public String getNamingConventionId()
Copyright © 1999–2017 Apache OODT. All rights reserved.