This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag 
org.apache.sling.commons.mime-2.1.0-incubator
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-commons-mime.git

commit 73d9711394d4544748aabd5dd9a6877b03425cbc
Author: Felix Meschberger <[email protected]>
AuthorDate: Mon May 18 07:35:49 2009 +0000

    JavaDoc
    
    git-svn-id: 
https://svn.apache.org/repos/asf/incubator/sling/trunk/bundles/commons/mime@775847
 13f79535-47bb-0310-9956-ffa450edef68
---
 .../java/org/apache/sling/commons/mime/MimeTypeProvider.java     | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/sling/commons/mime/MimeTypeProvider.java 
b/src/main/java/org/apache/sling/commons/mime/MimeTypeProvider.java
index d5c728c..97de2ba 100644
--- a/src/main/java/org/apache/sling/commons/mime/MimeTypeProvider.java
+++ b/src/main/java/org/apache/sling/commons/mime/MimeTypeProvider.java
@@ -17,7 +17,14 @@
 package org.apache.sling.commons.mime;
 
 /**
- * The <code>MimeTypeProvider</code> TODO
+ * The <code>MimeTypeProvider</code> interface defines an API for services
+ * which are asked for MIME type mappings for unknown MIME types or extensions.
+ * <p>
+ * It is important to understand, that services registered with this interface
+ * are only called as a last resort and that the first service asked and
+ * replying with a non-<code>null</code> answer wins. Specifically if a MIME
+ * type mapping is configured by default or as an extension to the MIME type
+ * service, MimeTypeProvider services are not queried.
  * <p>
  * This interface may be implemented by bundles wishing to provide control over
  * how extensions are mapped to MIME types and vice-versa.

-- 
To stop receiving notification emails like this one, please contact
"[email protected]" <[email protected]>.

Reply via email to