public class FileListPipesIterator extends PipesIterator implements Initializable
COMPLETED_SEMAPHORE, DEFAULT_MAX_WAIT_MS, DEFAULT_QUEUE_SIZE
Constructor and Description |
---|
FileListPipesIterator() |
Modifier and Type | Method and Description |
---|---|
void |
checkInitialization(InitializableProblemHandler problemHandler) |
protected void |
enqueue() |
void |
setFileList(String path) |
void |
setHasHeader(boolean hasHeader) |
build, call, getEmitterName, getFetcherName, getHandlerConfig, getOnParseException, initialize, iterator, setEmitterName, setFetcherName, setHandlerType, setMaxWaitMs, setOnParseException, setOnParseException, setQueueSize, setWriteLimit, tryToAdd
buildComposite, buildComposite, buildSingle, configure, handleSettings
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initialize
forEach, spliterator
protected void enqueue() throws IOException, TimeoutException, InterruptedException
enqueue
in class PipesIterator
IOException
TimeoutException
InterruptedException
@Field public void setHasHeader(boolean hasHeader)
public void checkInitialization(InitializableProblemHandler problemHandler) throws TikaConfigException
checkInitialization
in interface Initializable
checkInitialization
in class PipesIterator
problemHandler
- if there is a problem and no
custom initializableProblemHandler has been configured
via Initializable parameters,
this is called to respond.TikaConfigException
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.