Hi,

I need to know how to get the Mime type of a Document from the Byte array. I'm not having file name of file extension. I have only Byte array of a document.

To be more specific, Using the binary of a docuement, I need to find whether it is MS Word or MS Excel and so on.


Please tell me is there a way to find it in Java.

Thanks in advance
Bharath