SAP NetWeaver '04

com.sapportals.wcm.rendering.uicommand
Class PreviewMimeType

[contained in: com.sap.km.cm.ui.flex.par - km.shared.ui.flex.uicommand_api.jar]
com.sapportals.wcm.rendering.uicommand.PreviewMimeType

public final class PreviewMimeType

The PreviewMimeType is a singleton factory, and contains a list with all mime types and mime types pattern for Preview function. All items which have those mime types can be rendered by IPreviewLayout in the same window


Method Summary
 void configEvent(com.sapportals.config.event.ConfigEvent parm1)
          Description of the Method
 java.lang.String getConfigListenerId()
          Gets the configListenerId attribute of the UICommandFactory object
static PreviewMimeType getInstance()
          Gets the instance attribute of the PreviewMimeType class
 boolean isMimeTypeSupported(java.lang.String mimeType)
          Check if the input mine type is contained in the list of the mime types which are configurable for preview
 

Method Detail

getInstance

public static PreviewMimeType getInstance()
Gets the instance attribute of the PreviewMimeType class
Returns:
The instance value

getConfigListenerId

public java.lang.String getConfigListenerId()
Gets the configListenerId attribute of the UICommandFactory object
Returns:
The configListenerId value

configEvent

public void configEvent(com.sapportals.config.event.ConfigEvent parm1)
Description of the Method
Parameters:
parm1 - Description of the param

isMimeTypeSupported

public boolean isMimeTypeSupported(java.lang.String mimeType)
Check if the input mine type is contained in the list of the mime types which are configurable for preview
Parameters:
mimeType - the mime type as String
Returns:
true, if the input mime type is in the preview list of the mime types, false contrary

SAP NetWeaver '04

Copyright © 2004 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.