public interface IMimeHandlerService extends IService
Copyright 2004 SAP AG
| Modifier and Type | Field and Description |
|---|---|
static String |
MIMEHANDLER_SERVICE |
| Modifier and Type | Method and Description |
|---|---|
IMime |
get(IResource resource)
Returns a mime type for the given resource.
|
IMime |
get(RID rid)
Returns a mime type for the given RID.
|
IMime |
get(String extension)
Returns a mime type for the given extension.
|
String |
getDescription(String mime)
Deprecated.
as of NW04. Use IMime#getDescription(String) instead.
|
String |
getDescription(String mime,
Locale locale)
Deprecated.
as of NW04. Use IMime#getDescription(String,Locale) instead.
|
String[] |
getExtensionsForMimetype(String mimetype)
Deprecated.
as of NW04. Use IMime#getExtensions() instead.
|
String |
getImage(IResource resource)
Deprecated.
as of NW04. Use IMime#getImage instead
|
String |
getImage(String mime)
Deprecated.
as of NW04. Use IMime#getImage instead.
|
String |
getImagePath(IResource resource)
Deprecated.
as of NW04. Use IMime#getImagePath instead
|
String |
getImagePath(String mime)
Deprecated.
as of NW04. Use IMime#getImagePath instead
|
IMime |
getMime(String mime)
Returns a mime type for the given mime type string representation.
|
String |
getMimetypeForExtension(String extension)
Deprecated.
as of NW04. Use #get(String) instead.
|
String |
getMimetypeForRid(RID rid)
Deprecated.
as of NW04. Use #get(RID) instead
|
String |
getMimetypeForURI(URI uri)
Deprecated.
as of NW04. Use #get(RID)instead
|
IMime[] |
getMimetypes()
Returns all registered mime types.
|
getDescription, getDescription, getIDstatic final String MIMEHANDLER_SERVICE
IMime get(String extension) throws WcmException
extension - TBD: Description of the incoming method parameterWcmException - Exception raised in failure situationIMime getMime(String mime) throws WcmException
mime - TBD: Description of the incoming method parameterWcmException - Exception raised in failure situationIMime get(IResource resource) throws WcmException
resource - TBD: Description of the incoming method parameterWcmException - Exception raised in failure situationIMime get(RID rid) throws WcmException
rid - TBD: Description of the incoming method parameterWcmException - Exception raised in failure situationIMime[] getMimetypes() throws WcmException
WcmException - Exception raised in failure situationString[] getExtensionsForMimetype(String mimetype)
mimetype - TBD: Description of the incoming method parameterString getMimetypeForExtension(String extension)
extension - TBD: Description of the incoming method parameterString getMimetypeForURI(URI uri)
uri - TBD: Description of the incoming method parameterString getMimetypeForRid(RID rid)
rid - TBD: Description of the incoming method parameterString getImage(String mime)
mime - TBD: Description of the incoming method parameterString getImage(IResource resource)
resource - TBD: Description of the incoming method parameterString getImagePath(String mime)
mime - TBD: Description of the incoming method parameterString getImagePath(IResource resource)
resource - TBD: Description of the incoming method parameterString getDescription(String mime)
mime - TBD: Description of the incoming method parameterString getDescription(String mime, Locale locale)
mime - TBD: Description of the incoming method parameterlocale - TBD: Description of the incoming method parameter| Access Rights |
|---|
| 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 2017 SAP AG Complete Copyright Notice