|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This service provides informations about mime types.
Copyright 2004 SAP AG
| Field Summary | |
static String |
MIMEHANDLER_SERVICE
|
| Method Summary | |
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. |
| Methods inherited from interface com.sapportals.wcm.service.IService |
getDescription, getDescription, getID |
| Field Detail |
public static final String MIMEHANDLER_SERVICE
| Method Detail |
public IMime get(String extension)
throws WcmException
extension - TBD: Description of the incoming method parameter
WcmException - Exception raised in failure situation
public IMime getMime(String mime)
throws WcmException
mime - TBD: Description of the incoming method parameter
WcmException - Exception raised in failure situation
public IMime get(IResource resource)
throws WcmException
resource - TBD: Description of the incoming method parameter
WcmException - Exception raised in failure situation
public IMime get(RID rid)
throws WcmException
rid - TBD: Description of the incoming method parameter
WcmException - Exception raised in failure situation
public IMime[] getMimetypes()
throws WcmException
WcmException - Exception raised in failure situationpublic String[] getExtensionsForMimetype(String mimetype)
mimetype - TBD: Description of the incoming method parameter
public String getMimetypeForExtension(String extension)
extension - TBD: Description of the incoming method parameter
public String getMimetypeForURI(URI uri)
uri - TBD: Description of the incoming method parameter
public String getMimetypeForRid(RID rid)
rid - TBD: Description of the incoming method parameter
public String getImage(String mime)
mime - TBD: Description of the incoming method parameter
public String getImage(IResource resource)
resource - TBD: Description of the incoming method parameter
public String getImagePath(String mime)
mime - TBD: Description of the incoming method parameter
public String getImagePath(IResource resource)
resource - TBD: Description of the incoming method parameter
public String getDescription(String mime)
mime - TBD: Description of the incoming method parameter
public String getDescription(String mime,
Locale locale)
mime - TBD: Description of the incoming method parameterlocale - TBD: Description of the incoming method parameter
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||