Registry / utility / org-apache-sling-commons-mime

org-apache-sling-commons-mime

JSON →
library3.0.0javamavenunverified

Provides configurable MIME type mapping and querying support for Apache Sling applications.

<dependency> <groupId>org.apache.sling</groupId> <artifactId>org.apache.sling.commons.mime</artifactId> <version>3.0.0</version> </dependency>
INSTALL
IMPORT
SIG · ORG-APACHE-SLING-C
O
org-apache-sling-commons-mime
utilityjavav3.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

MimeTypeService
org.apache.sling.commons.mime.MimeTypeService

Retrieves the MIME type for a given file extension.

import org.apache.sling.commons.mime.MimeTypeService; MimeTypeService mimeService = new MimeTypeService(); String mimeType = mimeService.getMimeType("file.pdf");
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.0.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
org-apache-sling-commons-mime — mvn dependency:get org-apache-sling-commons-mime · libregistry