org.opensubsystems.core.util
Class MimeTypeConstants

java.lang.Object
  extended by org.opensubsystems.core.util.MimeTypeConstants

public final class MimeTypeConstants
extends java.lang.Object

Known mime types. Originally copied from HandlerContext.java taken from Jetty 3.0.4 now updated from mime.properties from Jetty 5.1.10.

Version:
$Id: MimeTypeConstants.java,v 1.6 2007/01/07 06:14:01 bastafidli Exp $
Author:
Julo Legeny
Code reviewer:
Miro Halas
Code reviewed:
1.4 2005/07/29 07:36:24 bastafidli

Field Summary
protected static java.util.Map s_mapMimeTypes
          Hash map that will be stored types in
protected static java.lang.String s_strDefaultMimeType
          Default Mime type
 
Method Summary
static java.lang.String getMimeType(java.lang.String strKey)
          Method getting particular Mime type for the extension (key)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

s_strDefaultMimeType

protected static java.lang.String s_strDefaultMimeType
Default Mime type


s_mapMimeTypes

protected static java.util.Map s_mapMimeTypes
Hash map that will be stored types in

Method Detail

getMimeType

public static java.lang.String getMimeType(java.lang.String strKey)
Method getting particular Mime type for the extension (key)

Parameters:
strKey - - key value for returning Mime type
Returns:
String


Copyright © 2003 - 2006 OpenSubsystems s.r.o.