Uses of Interface
jakarta.activation.MimeTypeRegistry
Packages that use MimeTypeRegistry
Package
Description
Jakarta Activation is used by Jakarta Mail to manage MIME data.
Provides interfaces which implementations will be used as service providers for other services
that used by Jakarta Activation.
-
Uses of MimeTypeRegistry in jakarta.activation
Fields in jakarta.activation declared as MimeTypeRegistryMethods in jakarta.activation that return MimeTypeRegistryModifier and TypeMethodDescriptionprivate MimeTypeRegistry
Load the named file.private MimeTypeRegistry
MimetypesFileTypeMap.loadResource
(String name) Load from the named resource.Method parameters in jakarta.activation with type arguments of type MimeTypeRegistryModifier and TypeMethodDescriptionprivate void
MimetypesFileTypeMap.loadAllResources
(Vector<MimeTypeRegistry> v, String name) Load all of the named resource. -
Uses of MimeTypeRegistry in jakarta.activation.spi
Methods in jakarta.activation.spi that return MimeTypeRegistryModifier and TypeMethodDescriptionMimeTypeRegistryProvider.getByFileName
(String name) Retrieve an instance of the MimeTypeRegistry based on the name of the file where the MimeTypeEntries are stored.MimeTypeRegistryProvider.getByInputStream
(InputStream inputStream) Retrieve an instance of the MimeTypeRegistry based on the InputStream that is used to read data from some named resource.MimeTypeRegistryProvider.getInMemory()
Retrieve an instance of the in-memory implementation of the MimeTypeRegistry.