Java Activation Spec API 1.1 provides the javax.activation package for data type registration and MIME handling.
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-activation_1.1_spec</artifactId>
<version>1.0.2</version>
</dependency>No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Minimal example using DataHandler to get MIME type of a file.
Replace javax.activation with jakarta.activation (e.g., com.sun.activation:jakarta.activation).
No dependency data recorded yet.