public class RecursiveForkParser extends Object
| Constructor and Description |
|---|
RecursiveForkParser(List<String> java)
Initialize with the full commandline to start the child processes
e.g.
|
RecursiveForkParser(String[] java) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
List<String> |
getJava()
Returns the command used to start the forked server process.
|
int |
getPoolSize()
Returns the size of the process pool.
|
List<org.apache.tika.metadata.Metadata> |
parse(Path file) |
void |
setPoolSize(int poolSize)
Sets the size of the process pool.
|
public RecursiveForkParser(String[] java)
public int getPoolSize()
public void setPoolSize(int poolSize)
poolSize - process pool sizepublic List<String> getJava()
Returned list is unmodifiable.
public List<org.apache.tika.metadata.Metadata> parse(Path file) throws org.apache.tika.exception.TikaException
org.apache.tika.exception.TikaExceptionpublic void close()
Copyright © 2018. All rights reserved.