Fixed Upd — Filedotto Tika
(If your "filedotto" name maps to a specific repo or product, substitute its exact role.)
import org.apache.tika.parser.ParseContext; import org.apache.tika.parser.Parser; import org.apache.tika.parser.utils.Utils; import org.apache.tika.sax.BodyContentHandler; import org.xml.sax.ContentHandler; filedotto tika fixed
FutureTask<Integer> task = new FutureTask<>(() -> parser.parse(stream, handler, metadata, context); return 0; ); (If your "filedotto" name maps to a specific