com.sapportals.wcm.service.mimehandler
Interface IExtendedMimeHandlerService
- All Superinterfaces:
- IMimeHandlerService, IService
public interface IExtendedMimeHandlerService
- extends IMimeHandlerService
TODO Auto-generated type
| Methods inherited from interface com.sapportals.wcm.service.mimehandler.IMimeHandlerService |
get, get, get, getDescription, getDescription, getExtensionsForMimetype, getImage, getImage, getImagePath, getImagePath, getMime, getMimetypeForExtension, getMimetypeForRid, getMimetypeForURI, getMimetypes |
getExtensionSpecific
IMime getExtensionSpecific(String extension)
throws WcmException
- Returns an extension-specific mime object for the given extension. Such a
mime object yields extension-determined values for properties such as icon
and description. If the extension is unknown a default mime type will be
returned (application/octet-stream).
- Parameters:
extension - Extension determining mime object
- Returns:
- Extension-specific mime object
- Throws:
WcmException - Exception raised in failure situation
getExtensionSpecific
IMime getExtensionSpecific(IResource resource)
throws WcmException
- Returns an extension-specific mime object for the given resource. Such a
mime object yields extension-determined values for properties such as icon
and description. If the resource does not have an extension, the normal
mime object for its content type is returned. If either is unknown a
default mime object will be returned (application/octet-stream)
- Parameters:
resource - Resource determining mime object
- Returns:
- Extension-specific mime object for resource
- Throws:
WcmException - Exception raised in failure situation
getExtensionSpecific
IMime getExtensionSpecific(RID rid)
throws WcmException
- Returns a mime object for the given RID. Such a mime object yields
extension-determined values for properties such as icon and description.
If the RID's extension is unknown a default mime object will be returned
(application/octet-stream)
- Parameters:
rid - RID determining mime object
- Returns:
- Extension-specific mime object for RID
- Throws:
WcmException - Exception raised in failure situation
getExtensionSpecificMimetypes
IMime[] getExtensionSpecificMimetypes()
throws WcmException
- Returns all registered extension-specific mime objects. Returns an empty
array if no mime objects were registered.
- Returns:
- Registered extension-specific mime objects
- Throws:
WcmException - Exception raised in failure situation
This class can be accessed from:
|
SC
|
DC
|
Public Part
|
ACH
|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2014 SAP AG Complete Copyright Notice