com.sapportals.wcm.service.mimehandler

Interface IMime


public interface IMime

Container for mime types.

Copyright 2004 SAP AG


Method Summary
 String getDefaultExtension()
          Returns the default extension for this mime type or null if no default extension is set.
 String getDescription()
          The description for this mime type
 String getDescription(Locale locale)
          The description for this mime type
 String[] getExtensions()
          Returns all extensions for this mime type
 String getImage()
          This method returns the image (icon)
 String getImagePath()
          Returns the path to the image (icon)
 String getType()
          Returns the mime type representatiom
 

Method Detail

getType

public String getType()
Returns the mime type representatiom

Returns:
The mime type

getImage

public String getImage()
This method returns the image (icon)

Returns:
image

getImagePath

public String getImagePath()
Returns the path to the image (icon)

Returns:
The the path to the image (icon)

getDefaultExtension

public String getDefaultExtension()
Returns the default extension for this mime type or null if no default extension is set.

Returns:
The default extension for this mime type

getExtensions

public String[] getExtensions()
Returns all extensions for this mime type

Returns:
All extensions assigned to this mime type

getDescription

public String getDescription()
The description for this mime type

Returns:
description

getDescription

public String getDescription(Locale locale)
The description for this mime type

Parameters:
locale - locale
Returns:
description


Copyright 2006 SAP AG Complete Copyright Notice