Hi,

At first I used static methods in the Tika facade class, but then I
switched to normal instance methods to make it easier to use custom
Tika configuration. However, now I'm thinking that the original design
was probably better.

Any opinions on this? Essentially, which one of the following do you
like better:

    a) new Tika().parse(...);

    b) Tika.parse(...);

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.

BR,

Jukka Zitting

Reply via email to