On Tue, 31 Jul 2012, 122jxgcn wrote:
I tried TikaInputStream.get() and tstream is no longer null.
But it seems that tstream.hasFile() is null.

If you create a TikaInputStream with an InputStream, then initially
hasFile will be false. If you create it with a file, it'll be true

If your TikaInputStream lacks a file, and getFile is called, one will automatically be created for you. (That's part of the point!)

Nick

Reply via email to