This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I'm not sure how JMimeMagic works, but if it's image formats you need to deal with, have a look at the ImageInfo class. It identifies a number of image formats based on the contents, not on the name or MIME type.
Joined: Dec 05, 2007
thanks for reply.
Well, it's most image and text. With images the JMimemagic is great, the problem is with txt, some times it fails.