Package org.apache.sling.commons.mime
@Version("2.2.0")
package org.apache.sling.commons.mime
Provides the
MimeTypeService
service used by client to resolve MIME type information as well as the
MimeTypeProvider
service
interface for providers to extend the MIME type setup provided by the
MimeTypeService
.-
ClassDescriptionThe
MimeTypeProvider
interface defines an API for services which are asked for MIME type mappings for unknown MIME types or extensions.TheMimeTypeService
defines the service applications can call to resolve file names to MIME types and derive default file name extensions from MIME types.