Package org.apache.tika.parser
Class AbstractExternalProcessParser
- java.lang.Object
-
- org.apache.tika.parser.AbstractParser
-
- org.apache.tika.parser.AbstractExternalProcessParser
-
- All Implemented Interfaces:
Serializable
,Parser
- Direct Known Subclasses:
TesseractOCRParser
public abstract class AbstractExternalProcessParser extends AbstractParser
Abstract base class for parsers that call external processes. This adds one more layer of 'hope' that processes won't be orphaned if the jvm has to be restarted. This does not guarantee that the processes won't be orphaned in case of, e.g. kill -9, but this increases the chances that under normal circumstances or if the jvm itself exits, that external processes won't be orphaned.- Since:
- Apache Tika 1.27
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractExternalProcessParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
register(Process p)
protected Process
release(String id)
-
Methods inherited from class org.apache.tika.parser.AbstractParser
parse
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.tika.parser.Parser
getSupportedTypes, parse
-
-