站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

CMSMimeMappings - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.cms
Class CMSMimeMappings

java.lang.Object
  extended byorg.jboss.portal.cms.CMSMimeMappings

public class CMSMimeMappings
extends java.lang.Object

Since:
JBoss portal 2.0 Class org.jboss.portal.setup.impl.dl.cmsloader.CMSMimeMappings
Author:
Polina Alber Date: Apr 30, 2005; Time: 2:10:44 AM

Field Summary
private  java.util.HashMap mappings
          .
private static java.lang.String MAPPINGS_FILE
          Definition of default mime type mappings to file extension.
 
Constructor Summary
CMSMimeMappings()
           
 
Method Summary
 java.lang.String getMimeType(java.lang.String fileExtension)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAPPINGS_FILE

private static final java.lang.String MAPPINGS_FILE
Definition of default mime type mappings to file extension.

See Also:
Constant Field Values

mappings

private final java.util.HashMap mappings
.

Constructor Detail

CMSMimeMappings

public CMSMimeMappings()
Method Detail

getMimeType

public java.lang.String getMimeType(java.lang.String fileExtension)