Class FilesystemCrawler
java.lang.Object
com.norconex.collector.core.crawler.Crawler
com.norconex.collector.fs.crawler.FilesystemCrawler
The Filesystem Crawler.
- Author:
- Pascal Essiembre
-
Nested Class Summary
Nested classes/interfaces inherited from class com.norconex.collector.core.crawler.Crawler
Crawler.ReferenceProcessStatus -
Constructor Summary
ConstructorsConstructorDescriptionFilesystemCrawler(FilesystemCrawlerConfig crawlerConfig, Collector collector) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidbeforeCrawlerExecution(boolean resume) protected CrawlDocInfocreateChildDocInfo(String embeddedReference, CrawlDocInfo parentCrawlData) protected voidexecuteCommitterPipeline(Crawler crawler, CrawlDoc doc) protected ImporterResponseexecuteImporterPipeline(ImporterPipelineContext importerContext) protected voidexecuteQueuePipeline(CrawlDocInfo crawlData) org.apache.commons.vfs2.FileSystemManagerprotected voidmarkReferenceVariationsAsProcessed(CrawlDocInfo crawlData) Methods inherited from class com.norconex.collector.core.crawler.Crawler
beforeFinalizeDocumentProcessing, clean, deleteCacheOrphans, destroyCrawler, doExecute, exportDataStore, getCollector, getCommitterService, getCrawlDocInfoType, getDataStoreEngine, getDocInfoService, getDownloadDir, getEventManager, getId, getImporter, getMonitor, getStreamFactory, getTempDir, getWorkDir, handleOrphans, importDataStore, initCrawlDoc, initCrawler, isMaxDocuments, isQueueInitialized, isStopped, processNextReference, processReferences, reprocessCacheOrphans, start, stop, toString
-
Constructor Details
-
FilesystemCrawler
Constructor.- Parameters:
crawlerConfig- HTTP crawler configuration
-
-
Method Details
-
getCrawlerConfig
- Overrides:
getCrawlerConfigin classCrawler
-
getFileManager
public org.apache.commons.vfs2.FileSystemManager getFileManager()- Returns:
- the fileManager
-
beforeCrawlerExecution
protected void beforeCrawlerExecution(boolean resume) - Specified by:
beforeCrawlerExecutionin classCrawler
-
afterCrawlerExecution
protected void afterCrawlerExecution()- Specified by:
afterCrawlerExecutionin classCrawler
-
executeQueuePipeline
- Specified by:
executeQueuePipelinein classCrawler
-
executeImporterPipeline
- Specified by:
executeImporterPipelinein classCrawler
-
createChildDocInfo
- Specified by:
createChildDocInfoin classCrawler
-
executeCommitterPipeline
- Specified by:
executeCommitterPipelinein classCrawler
-
markReferenceVariationsAsProcessed
- Specified by:
markReferenceVariationsAsProcessedin classCrawler
-