jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rodrigo Meza <rodrigo.meza.fo...@gmail.com>
Subject Re: problem with .doc and .xls mimetype
Date Mon, 14 Sep 2009 16:59:57 GMT
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 <gary.long@gmx.fr> wrote:

>
> Thank you for helping me :)
>
> I'll try to use tika.
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message