public class FSListCrawler extends FileResourceCrawler
ADDED, logger, SKIPPED, STOP_NOW
Constructor and Description |
---|
FSListCrawler(ArrayBlockingQueue<FileResource> fileQueue,
int numConsumers,
File root,
File list,
String encoding) |
Modifier and Type | Method and Description |
---|---|
void |
start()
Implement this to control the addition of FileResources.
|
call, getAdded, getConsidered, isActive, isQueueEmpty, select, setDocumentSelector, setMaxConsecWaitInMillis, setMaxFilesToAdd, setMaxFilesToConsider, shutDownNoPoison, tryToAdd, wasTimedOut
public FSListCrawler(ArrayBlockingQueue<FileResource> fileQueue, int numConsumers, File root, File list, String encoding) throws FileNotFoundException, UnsupportedEncodingException
public void start() throws InterruptedException
FileResourceCrawler
FileResourceCrawler.tryToAdd(org.apache.tika.batch.FileResource)
to add FileResources to the queue.start
in class FileResourceCrawler
InterruptedException
Copyright © 2007-2015 The Apache Software Foundation. All Rights Reserved.