Hi, Hmm, of course we could do both options, i.e. have both static and non-static versions of the Tika methods. The static versions would simply call the equivalent instance methods on a singleton instance created from the default configuration.
On Wed, Nov 11, 2009 at 11:50 PM, Michael Wechner <[email protected]> wrote: > I assume you are refering to Tika 0.5 > > http://lucene.apache.org/tika/apidocs/org/apache/tika/Tika.html Correct. I wanted to get the API right before we make the release. >> The benefit of a) over b) is that you can say: new >> Tika(config).parse(...), but most of the people who need custom >> configuration will probably in any case be going beyond the Tika >> facade. > > you mean using TikaConfig.getParser().parse(...) Yes. And things like: new AutoDetectParser(new TikaConfig(...)).parse(...) BR, Jukka Zitting
