Mime Type Detection Utility is a Java (1.4 or higher) utility library that detects the MIME types of files and streams. It uses file extension mappings and a magic.mime rules file.
|Tags||Software Development Libraries Java Libraries Utilities|
|Operating Systems||Unix Mac OS X Windows|
Release Notes: Removal of static blocks from MimeDetector(s). Now you have to register MimeDetector(s) using a fully qualified name. TextMimeDetector is added and registered by default, and cannot be un-registered. It analyzes text content from all supported sources adding an encoding attribute. All deprecated classes and methods have been removed. Logging has changed to SLF4J from commons-logging. Meta-data has been added enabling mime-util to be deployed in an OSGi container as an OSGi bundle.
Release Notes: All known bugs were fixed. MIME type detection of Java streams was implemented The API was cleaned up and many utility methods were added. Significant amounts of JavaDoc were added to the public API. A README.txt file explaining MIME type mapping was included. Many more extension mappings were added.