Hi,
On Thu, Mar 27, 2014 at 6:07 PM, Stefano Fornari
<[email protected]> wrote:
> I am not sure tstream.hasFile() can ever be true, from my understanding of
> the code it can be only false.
It's true if you call the parser like this:
InputStream stream = TikaInputStream.get(file);
try {
parser.parse(stream, ...);
} finally {
stream.close();
}
> What do you think about extending the Parse interface accordingly?
See https://issues.apache.org/jira/browse/TIKA-153 (and the
TikaInputStream javadocs) for details on how we already achieve this
functionality.
BR,
Jukka Zitting