Package com.sapportals.wcm.service.mimehandler

Provides a service for managing information related to mime types.

See:
          Description

Interface Summary
IExtendedMimeHandlerService TODO Auto-generated type
IMime Container for mime types.
IMimeHandlerService This service provides informations about mime types.
 

Class Summary
MimeHandlerServiceFactory Service factory for the service of this package.
 

Package com.sapportals.wcm.service.mimehandler Description

Provides a service for managing information related to mime types.

Package Specification

Purpose

The mime handler service provides information about mime types. Mime types are mapped to file extensions and associated with icons in the mimes.properties file. It is the task of the mime handler to read this information and to pass it on to applications whenever requested. Typically, applications need to know which mime type is associated with a particular resource, RID or file extension and which icon must be used to represent the mime type. For example, when an application presents a list of files to a user, it needs to know which icon must be displayed for each file type and can ask the mime handler to supply this information.

The mime handler is sometimes required to translate file endings into mime types. For example, when the Netscape browser is used, it only recognizes mime types and not file endings. For this reason, a file can only be opened with the Netscape browser if its extension has been translated into a mime type with the help of the mime handler service.



Copyright 2014 SAP AG Complete Copyright Notice