+ "  -threads <num>            number of threads for parallel processing\n");
System.exit(1);
}
String path = parser.getPath();
String extension = parser.getTextExtension();
<BUG>InternalContentExtractor.THREADS_NUMBER = parser.getThreadsNumber();
File file = new File(path);</BUG>
if (file.isFile()) {
try {
PdfRawTextExtractor extractor = new PdfRawTextExtractor();

+ "  -threads <num>            number of threads for parallel processing\n");
System.exit(1);
}
String path = parser.getPath();
String extension = parser.getTextExtension();
ExtractionConfigBuilder builder = new ExtractionConfigBuilder();
if (parser.getThreadsNumber() > 0) {
builder.setProperty(ExtractionConfigProperty.SEGMENTER_THREADS, parser.getThreadsNumber());
}
ExtractionConfigRegister.set(builder.buildConfiguration());
File file = new File(path);
if (file.isFile()) {
try {
PdfRawTextExtractor extractor = new PdfRawTextExtractor();
