a solution that worked for me was to use jmimemagic ( http://sourceforge.net/projects/jmimemagic/):
byte [] data=....;
String mimetype = Magic.getMagicMatch(data).getMimeType();
On Mon, Sep 14, 2009 at 12:11 PM, Gary Long <[email protected]> wrote:
>
> Thank you for helping me :)
>
> I'll try to use tika.
>
>
>
