Uses of Interface
jakarta.activation.DataSource
Package
Description
Jakarta Activation is used by Jakarta Mail to manage MIME data.
The Jakarta Mail API
provides classes that model a mail system.
Classes specific to Internet mail systems.
Jakarta Mail API utility classes.
-
Uses of DataSource in jakarta.activation
Modifier and TypeClassDescriptionclass
The FileDataSource class implements a simple DataSource object that encapsulates a file.class
The URLDataSource class provides an object that wraps aURL
object in a DataSource interface.Modifier and TypeMethodDescriptionDataHandler.getDataSource()
Return the DataSource associated with this instance of DataHandler.Modifier and TypeMethodDescriptionCommandMap.createDataContentHandler
(String mimeType, DataSource ds) Locate a DataContentHandler that corresponds to the MIME type.CommandMap.getAllCommands
(String mimeType, DataSource ds) Get all the available commands for this type.CommandMap.getCommand
(String mimeType, String cmdName, DataSource ds) Get the default command corresponding to the MIME type.DataContentHandler.getContent
(DataSource ds) Return an object representing the data in its most preferred form.CommandMap.getPreferredCommands
(String mimeType, DataSource ds) Get the preferred command list from a MIME Type.DataContentHandler.getTransferData
(ActivationDataFlavor df, DataSource ds) Returns an object which represents the data to be transferred.ModifierConstructorDescriptionCreate aDataHandler
instance referencing the specified DataSource. -
Uses of DataSource in jakarta.mail
Modifier and TypeInterfaceDescriptioninterface
MultipartDataSource is aDataSource
that contains body parts. -
Uses of DataSource in jakarta.mail.internet
Modifier and TypeClassDescriptionclass
A utility class that implements a DataSource out of a MimePart.Modifier and TypeFieldDescriptionprotected DataSource
MimeMultipart.ds
The DataSource supplying our InputStream.Modifier and TypeMethodDescriptionstatic String
MimeUtility.getEncoding
(DataSource ds) Get the Content-Transfer-Encoding that should be applied to the input stream of this DataSource, to make it mail-safe.ModifierConstructorDescriptionConstructs a MimeMultipart object and its bodyparts from the given DataSource. -
Uses of DataSource in jakarta.mail.util