Hi,

On Mon, Oct 17, 2011 at 2:32 PM, Nick Burch <nick.bu...@alfresco.com> wrote:
> Would it make sense to add a getDetector() method to TikaConfig to mirror
> the parser one? It's only a few lines of code without it, but it seems to me
> that it'd make things simpler and cleaner if it was there. Thoughts?

Why not just use Tika.getDetector()? Or new DefaultDetector()?

TikaConfig doesn't currently have anything to do with Detectors, so my
instinct would be to avoid such an extra method unless we actually
want to add some sort of a custom detector configuration mechanism.

BR,

Jukka Zitting

Reply via email to