org.pentaho.platform.util.web
Class MimeHelper

java.lang.Object
  extended by org.pentaho.platform.util.web.MimeHelper

public class MimeHelper
extends Object


Field Summary
static String MIMETYPE_XACTION
           
 
Constructor Summary
MimeHelper()
           
 
Method Summary
static String getExtension(String mimeType)
           
static String getMimeTypeFromExtension(String extension)
           
static String getMimeTypeFromFileName(String fileName)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MIMETYPE_XACTION

public static String MIMETYPE_XACTION
Constructor Detail

MimeHelper

public MimeHelper()
Method Detail

getExtension

public static String getExtension(String mimeType)

getMimeTypeFromExtension

public static String getMimeTypeFromExtension(String extension)

getMimeTypeFromFileName

public static String getMimeTypeFromFileName(String fileName)