Uses of Interface
jakarta.activation.DataSource
Packages that use DataSource
Package
Description
Jakarta Activation is used by Jakarta Mail to manage MIME data.
-
Uses of DataSource in jakarta.activation
Classes in jakarta.activation that implement DataSourceModifier 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.Methods in jakarta.activation that return DataSourceModifier and TypeMethodDescriptionDataHandler.getDataSource()
Return the DataSource associated with this instance of DataHandler.Methods in jakarta.activation with parameters of type DataSourceModifier 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.Constructors in jakarta.activation with parameters of type DataSourceModifierConstructorDescriptionCreate aDataHandler
instance referencing the specified DataSource.