public class PipesServer extends Object implements Runnable
Modifier and Type | Field and Description |
---|---|
static byte |
CALL |
static byte |
EMIT_EXCEPTION |
static byte |
EMIT_SUCCESS |
static byte |
EMIT_SUCCESS_PARSE_EXCEPTION |
static byte |
EMPTY_OUTPUT |
static byte |
FAILED_TO_START |
static byte |
NO_EMITTER_FOUND |
static byte |
OOM |
static byte |
PARSE_EXCEPTION_EMIT
This will return the metadata list
|
static byte |
PARSE_EXCEPTION_NO_EMIT
This will return the parse exception stack trace
|
static byte |
PARSE_SUCCESS |
static byte |
PING |
static byte |
READY |
static byte |
TIMEOUT |
static int |
TIMEOUT_EXIT_CODE |
Constructor and Description |
---|
PipesServer(Path tikaConfigPath,
InputStream in,
PrintStream out,
long maxExtractSizeToReturn,
long serverParseTimeoutMillis,
long serverWaitTimeoutMillis) |
Modifier and Type | Method and Description |
---|---|
void |
actuallyParse() |
static void |
main(String[] args) |
void |
processRequests() |
void |
run() |
public static final int TIMEOUT_EXIT_CODE
public static final byte READY
public static final byte CALL
public static final byte PING
public static final byte FAILED_TO_START
public static final byte PARSE_SUCCESS
public static final byte PARSE_EXCEPTION_NO_EMIT
public static final byte PARSE_EXCEPTION_EMIT
public static final byte EMIT_SUCCESS
public static final byte EMIT_SUCCESS_PARSE_EXCEPTION
public static final byte EMIT_EXCEPTION
public static final byte NO_EMITTER_FOUND
public static final byte OOM
public static final byte TIMEOUT
public static final byte EMPTY_OUTPUT
public PipesServer(Path tikaConfigPath, InputStream in, PrintStream out, long maxExtractSizeToReturn, long serverParseTimeoutMillis, long serverWaitTimeoutMillis) throws IOException, TikaException, SAXException
IOException
TikaException
SAXException
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.