Uses of Interface
jakarta.activation.DataSource
-
Packages that use DataSource Package Description jakarta.activation Jakarta Activation is used by Jakarta Mail to manage MIME data. -
-
Uses of DataSource in jakarta.activation
Classes in jakarta.activation that implement DataSource Modifier and Type Class Description class
FileDataSource
The FileDataSource class implements a simple DataSource object that encapsulates a file.class
URLDataSource
The URLDataSource class provides an object that wraps aURL
object in a DataSource interface.Methods in jakarta.activation that return DataSource Modifier and Type Method Description DataSource
DataHandler. getDataSource()
Return the DataSource associated with this instance of DataHandler.Methods in jakarta.activation with parameters of type DataSource Modifier and Type Method Description DataContentHandler
CommandMap. createDataContentHandler(java.lang.String mimeType, DataSource ds)
Locate a DataContentHandler that corresponds to the MIME type.CommandInfo[]
CommandMap. getAllCommands(java.lang.String mimeType, DataSource ds)
Get all the available commands for this type.CommandInfo
CommandMap. getCommand(java.lang.String mimeType, java.lang.String cmdName, DataSource ds)
Get the default command corresponding to the MIME type.java.lang.Object
DataContentHandler. getContent(DataSource ds)
Return an object representing the data in its most preferred form.CommandInfo[]
CommandMap. getPreferredCommands(java.lang.String mimeType, DataSource ds)
Get the preferred command list from a MIME Type.java.lang.Object
DataContentHandler. getTransferData(ActivationDataFlavor df, DataSource ds)
Returns an object which represents the data to be transferred.Constructors in jakarta.activation with parameters of type DataSource Constructor Description DataHandler(DataSource ds)
Create aDataHandler
instance referencing the specified DataSource.
-