Oh ok. I didn’t realize I needed to write my own class to implement it. I was
looking for some sort of existing framework.
What is the purpose of the 2 InputStreamFactory classes:
I was re-reading some emails with Nick Burch back around Dec 22-23 and maybe I
mis-understood him, but it sounds
Something like:
class MyInputStreamFactory implements InputStreamFactory{
private File file;
public MyInputStreamFactory(File file){
this.file = file;
}
public InputStream getInputStream(){
return new FileInputStream(file);
}
}
in your client code:
Parser
I sent this question late on Friday. Sending it again. Can you provide a
little more information how out to use the InputStreamFactory?
From: Peter Kronenberg
Sent: Friday, February 19, 2021 5:10 PM
To: user@tika.apache.org; lfcnas...@gmail.com
Subject: RE: Re-using a TikaStream
This email