# Index

G M O R
All Classes and Interfaces|All Packages

## G

getExtension(String) - Method in interface org.apache.sling.commons.mime.MimeTypeProvider
  Returns the primary name extension to which the given `mimeType` maps.
getExtension(String) - Method in interface org.apache.sling.commons.mime.MimeTypeService
  Returns the primary name extension to which the given `mimeType` maps.
getExtensionMap() - Method in interface org.apache.sling.commons.mime.MimeTypeService
getMimeMap() - Method in interface org.apache.sling.commons.mime.MimeTypeService
getMimeType(String) - Method in interface org.apache.sling.commons.mime.MimeTypeProvider
  Returns the MIME type of the extension of the given `name`.
getMimeType(String) - Method in interface org.apache.sling.commons.mime.MimeTypeService
  Returns the MIME type of the extension of the given `name`.

## M

MimeTypeProvider - Interface in org.apache.sling.commons.mime
  The `MimeTypeProvider` interface defines an API for services which are asked for MIME type mappings for unknown MIME types or extensions.
MimeTypeService - Interface in org.apache.sling.commons.mime
  The `MimeTypeService` defines the service applications can call to resolve file names to MIME types and derive default file name extensions from MIME types.

## O

org.apache.sling.commons.mime - 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`.

## R

registerMimeType(InputStream) - Method in interface org.apache.sling.commons.mime.MimeTypeService
  Register MIME types stored in the given input stream formatted as a regular MIME type file format: One entry per line.
registerMimeType(String, String...) - Method in interface org.apache.sling.commons.mime.MimeTypeService
  Dynamically register a new mime type with one or more file name extensions.

G M O R
All Classes and Interfaces|All Packages