Uses of Interface
javax.activation.DataSource
-
Packages that use DataSource Package Description javax.activation Jakarta Activation is used by Jakarta Mail to manage MIME data. -
-
Uses of DataSource in javax.activation
Classes in javax.activation that implement DataSource Modifier and Type Class Description (package private) classDataHandlerDataSourceThe DataHanderDataSource class implements the DataSource interface when the DataHandler is constructed with an Object and a mimeType string.classFileDataSourceThe FileDataSource class implements a simple DataSource object that encapsulates a file.classURLDataSourceThe URLDataSource class provides an object that wraps aURLobject in a DataSource interface.Fields in javax.activation declared as DataSource Modifier and Type Field Description private DataSourceDataHandler. dataSourceprivate DataSourceDataSourceDataContentHandler. dsprivate DataSourceDataHandler. objDataSourceMethods in javax.activation that return DataSource Modifier and Type Method Description DataSourceDataHandler. getDataSource()Return the DataSource associated with this instance of DataHandler.Methods in javax.activation with parameters of type DataSource Modifier and Type Method Description DataContentHandlerCommandMap. 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.CommandInfoCommandMap. getCommand(java.lang.String mimeType, java.lang.String cmdName, DataSource ds)Get the default command corresponding to the MIME type.java.lang.ObjectDataContentHandler. getContent(DataSource ds)Return an object representing the data in its most preferred form.java.lang.ObjectDataSourceDataContentHandler. getContent(DataSource ds)java.lang.ObjectObjectDataContentHandler. getContent(DataSource ds)CommandInfo[]CommandMap. getPreferredCommands(java.lang.String mimeType, DataSource ds)Get the preferred command list from a MIME Type.java.lang.ObjectDataContentHandler. getTransferData(java.awt.datatransfer.DataFlavor df, DataSource ds)Returns an object which represents the data to be transferred.java.lang.ObjectDataSourceDataContentHandler. getTransferData(java.awt.datatransfer.DataFlavor df, DataSource ds)Return the Transfer Data of type DataFlavor from InputStream.java.lang.ObjectObjectDataContentHandler. getTransferData(java.awt.datatransfer.DataFlavor df, DataSource ds)Return the Transfer Data of type DataFlavor from InputStream.Constructors in javax.activation with parameters of type DataSource Constructor Description DataHandler(DataSource ds)Create aDataHandlerinstance referencing the specified DataSource.DataSourceDataContentHandler(DataContentHandler dch, DataSource ds)The constructor.
-