You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@any23.apache.org by Lewis John Mcgibbney <le...@gmail.com> on 2012/06/27 22:43:35 UTC

Most Suitable MIMETypeDetector

Hi,

I don't quite understand when the best time is to use either
NaiveMIMETypeDetector or TikaMIMETypeDetector?

I've looked over the code and Javadoc's diligently and am really keen
to compare between the two... I also think it would be worth our while
to document the results (comparability) between the two implementation
somewhere in Javadoc?

Any ideas? I am working with this and will update this thread if I
don't hear anything back.

Thanks

Lewis

-- 
Lewis

Re: Most Suitable MIMETypeDetector

Posted by Michele Mostarda <mi...@gmail.com>.
On 27 June 2012 22:43, Lewis John Mcgibbney <le...@gmail.com>wrote:

> Hi,
>
> I don't quite understand when the best time is to use either
> NaiveMIMETypeDetector or TikaMIMETypeDetector?
>


>
> I've looked over the code and Javadoc's diligently and am really keen
> to compare between the two... I also think it would be worth our while
> to document the results (comparability) between the two implementation
> somewhere in Javadoc?
>
> Any ideas? I am working with this and will update this thread if I
> don't hear anything back.
>

NaiveMIMETypeDetector: fast but not reliable.
TikaMIMETypeDetector: slow but reliable.

Any module using a MIMETypeDetector should let you choose the
implementation.

>
> Thanks
>

The best.
Mic

>
> Lewis
>
> --
> Lewis
>



-- 
Michele Mostarda
Senior Software Engineer
skype: michele.mostarda
twitter: micmos
mail: me@michelemostarda.com
site : http://www.michelemostarda.com