rabbit.util
Class MimeTypeMapper

java.lang.Object
  extended by rabbit.util.MimeTypeMapper

public class MimeTypeMapper
extends Object

A class that tries to guess mime types based on file extensions.

Author:
Robert Olofsson

Constructor Summary
MimeTypeMapper()
           
 
Method Summary
static String getMimeType(String filename)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MimeTypeMapper

public MimeTypeMapper()
Method Detail

getMimeType

public static String getMimeType(String filename)