Jukka -

That sounds fine to me.  My main hope is that we put this functionality
somewhere in Tika.  Otherwise, many Tika users such as myself will need to
write this helper functionality ourselves.  I don't mind doing it, but would
prefer that it be part of Tika so it would be reviewed and tested more
thoroughly than I could do it myself.

Could this helper class also contain the single call document parse I
mentioned? Come to think of it, maybe I'll start working on a TikaUtils
class for my own use, and contribute it later if/when you want it.

Thanks,
Keith



Jukka Zitting wrote:
> 
> Hi,
> 
> On 9/20/07, kbennett <[EMAIL PROTECTED]> wrote:
>> To sum up, I propose that when the Parser class receives a URL, it opens
>> and
>> closes the stream itself.  When it receives a stream, it does NOT close
>> the
>> stream itself.
> 
> IMHO we should keep the parser interface as simple as possible. In
> fact I'd rather put the URL handling to a separate helper class or
> layer and keep the core parser interface stream-oriented.
> 
> BR,
> 
> Jukka Zitting
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Opening-and-Closing-Document-Input-Streams-tf4488928.html#a12802300
Sent from the Apache Tika - Development mailing list archive at Nabble.com.

Reply via email to