Uses of Interface
javax.activation.DataSource
Packages that use DataSource
Package
Description
The JavaBeans(TM) Activation Framework is used by the JavaMail(TM)
API to manage MIME data.
-
Uses of DataSource in javax.activation
Classes in javax.activation that implement DataSourceModifier and TypeClassDescription(package private) class
The DataHanderDataSource class implements the DataSource interface when the DataHandler is constructed with an Object and a mimeType string.class
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.Fields in javax.activation declared as DataSourceModifier and TypeFieldDescriptionprivate DataSource
DataHandler.dataSource
private DataSource
DataSourceDataContentHandler.ds
private DataSource
DataHandler.objDataSource
Methods in javax.activation that return DataSourceModifier and TypeMethodDescriptionDataHandler.getDataSource()
Return the DataSource associated with this instance of DataHandler.Methods in javax.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.DataSourceDataContentHandler.getContent
(DataSource ds) ObjectDataContentHandler.getContent
(DataSource ds) CommandMap.getPreferredCommands
(String mimeType, DataSource ds) Get the preferred command list from a MIME Type.DataContentHandler.getTransferData
(DataFlavor df, DataSource ds) Returns an object which represents the data to be transferred.DataSourceDataContentHandler.getTransferData
(DataFlavor df, DataSource ds) Return the Transfer Data of type DataFlavor from InputStream.ObjectDataContentHandler.getTransferData
(DataFlavor df, DataSource ds) Return the Transfer Data of type DataFlavor from InputStream.Constructors in javax.activation with parameters of type DataSourceModifierConstructorDescriptionCreate aDataHandler
instance referencing the specified DataSource.The constructor.