Hi,

On 10/13/07, Keith R. Bennett <[EMAIL PROTECTED]> wrote:
> Hi, all.  Whenever we talk about the TikaConfig object, we talk of
> configuring it using XML.
>
> I'd like to suggest that we provide an API as well.  In general, it would be
> easier to use in many cases.

My proposal for the Parser interface was to use the JavaBean
conventions for any static configuration.

We can have an optional XML configuration mechanism in Tika, but you
could just as well configure the parsers with your favourite IoC
container or with explicit Java/Groovy/etc. code.

In fact, at the moment the XML parser configuration in Tika does
basically nothing more than associates the parser class name with the
set of mime types that it supports. We could (and perhaps even should)
easily drop the whole config file.

BR,

Jukka Zitting

Reply via email to