Package org.apache.tika.pipes
Class PipesClient
- java.lang.Object
- 
- org.apache.tika.pipes.PipesClient
 
- 
- All Implemented Interfaces:
- Closeable,- AutoCloseable
 
 public class PipesClient extends Object implements Closeable The PipesClient is designed to be single-threaded. It only allots a single thread forprocess(FetchEmitTuple)processing. SeeAsyncProcessorfor handling multiple PipesClients.
- 
- 
Constructor SummaryConstructors Constructor Description PipesClient(PipesConfigBase pipesConfig)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()intgetFilesProcessed()PipesResultprocess(FetchEmitTuple t)
 
- 
- 
- 
Constructor Detail- 
PipesClientpublic PipesClient(PipesConfigBase pipesConfig) 
 
- 
 - 
Method Detail- 
getFilesProcessedpublic int getFilesProcessed() 
 - 
closepublic void close() throws IOException- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Throws:
- IOException
 
 - 
processpublic PipesResult process(FetchEmitTuple t) throws IOException, InterruptedException - Throws:
- IOException
- InterruptedException
 
 
- 
 
-