Hi, On Sat, Jul 4, 2009 at 9:56 PM, Keith R. Bennett<kbenn...@bbsinc.biz> wrote: > In the process, I think I identified some possible improvements to Tika. It > would be nice to simplify one of the simplest use cases, where you want > Tika to parse a document using default configurations, and specify its output > stream. > [...] > What do you think?
Instead of a fixed facade like ParseUtils I personally prefer a set of components that I can combine in different ways to solve all kinds of use cases. For example your case would be easy to solve like this: InputStream input = ...; // Where your input is coming from OutputStream output = ...; // Where your output is going to new AutoDetectParser().parse( input, new BodyContentHandler(output), new Metadata()); Of course a static facade method like ParseUtils.parse(File input, File output) might be easier for occasional users. Did you have some specific method signatures in mind? BR, Jukka Zitting