MIME utility java library MIME detection mime guesser mime identifier mime from file mime from stream mime from byte array open source mime from extension mime from file name mime globbing mime magic data mime content java mime types freedesktop mime types text mime detection binary mime detection image mime detection server side mime types mime in java mime in servlets mime type detection in standalone java application

Menu

Latest news:

May 29, 2009:
New web site launched for the mime-util utility library.

June 01, 2009:
mime-util 2.0 released.

Read more...

June 15, 2009:
mime-util 2.1 released.

Read more...

More info:

We are currently working on the mime-util 3.0 release.

Read more...

Links:

- Valid XHTML
- Valid CSS
- Axiom Stack
- jFire
- YourKit Profiling
- SLF4J
- SourceForge

Current release mime-util 2.1.3

mime-util is a free, light weight, Open Source Mime Detection utility for Java.

Mime Detection has come a long way from it's beginnings as used for email content. The mime-util library is able to detect MIME Types from Files, InputStreams, URLs and byte arrays using plugable MimeDetectors utilising various extensible and customisable detection policies such as extension mapping, glob file name matching, magic data matching and other content sniffing techniques.

The project evolved, like many other Open Source projects, from what was originally a very simple set of requirements to detect the MIME types of files, or rather their extensions, and have these displayed in a file list along with icons representing those MIME types. As often happens in projects, requirements are modified over time resulting in the original code being factored out of the original project into a project of it's own. It was quickly realised that other projects and applications could benefit from the features provided and the library was then Open Sourced. Since it's humble beginnings, the mime-util library has grown with each release bringing new features and customisations based on user requests and submitted bug reports. The project source code, downloads, tracker and forums are hosted on SourceForge which is the largest Open Source project repository on the Internet.

We believe that utilities, such as mime-util, should be available for free to the whole community and this is one way, we as a company, can give back to the community we rely so heavily on. It would be impossible for us to deliver the feature sets and quality of applications our customers demand without the dedication of the Open Source contributors out there. We hope you get some good mileage out of this project whether it's for your own personal application or a large commercial stack because we enjoy maintaining it.

There is a very active, and growing, community building around this library who are using it in just about every conceivable way. It's being used in stand alone Java applications to fully fledged JEE application stacks both commercial and Open Source. With an Apache 2.0 License you are free to rip it apart and re-pack or use it as you like.

If you have developed a project using mime-util, we would love to hear from you and possibly link back to your project site. To tell us about your project just send an email to mime-util-team with as much detail as possible.

YourKit Profiling

YourKit is kindly supporting open source projects with its full-featured Java Profiler. YourKit, LLC is the creator of innovative and intelligent tools for profiling Java and .NET applications. Take a look at YourKit's leading software products: YourKit Java Profiler and YourKit .NET Profiler.