public class PipesServer extends Object implements Runnable
| Modifier and Type | Class and Description |
|---|---|
static class |
PipesServer.STATUS |
| Modifier and Type | Field and Description |
|---|---|
static int |
TIMEOUT_EXIT_CODE |
| Constructor and Description |
|---|
PipesServer(Path tikaConfigPath,
InputStream in,
PrintStream out,
long maxForEmitBatchBytes,
long serverParseTimeoutMillis,
long serverWaitTimeoutMillis) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
initializeResources() |
static void |
main(String[] args) |
protected List<Metadata> |
parseIt(FetchEmitTuple t,
Fetcher fetcher) |
void |
processRequests() |
void |
run() |
public static final int TIMEOUT_EXIT_CODE
public PipesServer(Path tikaConfigPath, InputStream in, PrintStream out, long maxForEmitBatchBytes, long serverParseTimeoutMillis, long serverWaitTimeoutMillis) throws IOException, TikaException, SAXException
IOExceptionTikaExceptionSAXExceptionpublic void processRequests()
protected List<Metadata> parseIt(FetchEmitTuple t, Fetcher fetcher)
protected void initializeResources()
throws TikaException,
IOException,
SAXException
TikaExceptionIOExceptionSAXExceptionCopyright © 2007–2024 The Apache Software Foundation. All rights reserved.