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.jakarta.mail The Jakarta Mail API provides classes that model a mail system.jakarta.mail.internet Classes specific to Internet mail systems.jakarta.mail.util Jakarta Mail API utility classes. -
-
Uses of DataSource in jakarta.activation
Classes in jakarta.activation that implement DataSource Modifier and Type Class Description 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.Methods in jakarta.activation that return DataSource Modifier and Type Method Description DataSourceDataHandler. getDataSource()Return the DataSource associated with this instance of DataHandler.Methods in jakarta.activation with parameters of type DataSource Modifier and Type Method Description DataContentHandlerCommandMap. createDataContentHandler(String mimeType, DataSource ds)Locate a DataContentHandler that corresponds to the MIME type.CommandInfo[]CommandMap. getAllCommands(String mimeType, DataSource ds)Get all the available commands for this type.CommandInfoCommandMap. getCommand(String mimeType, String cmdName, DataSource ds)Get the default command corresponding to the MIME type.ObjectDataContentHandler. getContent(DataSource ds)Return an object representing the data in its most preferred form.CommandInfo[]CommandMap. getPreferredCommands(String mimeType, DataSource ds)Get the preferred command list from a MIME Type.ObjectDataContentHandler. 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 aDataHandlerinstance referencing the specified DataSource. -
Uses of DataSource in jakarta.mail
Subinterfaces of DataSource in jakarta.mail Modifier and Type Interface Description interfaceMultipartDataSourceMultipartDataSource is aDataSourcethat contains body parts. -
Uses of DataSource in jakarta.mail.internet
Classes in jakarta.mail.internet that implement DataSource Modifier and Type Class Description classMimePartDataSourceA utility class that implements a DataSource out of a MimePart.Fields in jakarta.mail.internet declared as DataSource Modifier and Type Field Description protected DataSourceMimeMultipart. dsThe DataSource supplying our InputStream.Methods in jakarta.mail.internet with parameters of type DataSource Modifier and Type Method Description static StringMimeUtility. getEncoding(DataSource ds)Get the Content-Transfer-Encoding that should be applied to the input stream of this DataSource, to make it mail-safe.Constructors in jakarta.mail.internet with parameters of type DataSource Constructor Description MimeMultipart(DataSource ds)Constructs a MimeMultipart object and its bodyparts from the given DataSource. -
Uses of DataSource in jakarta.mail.util
Classes in jakarta.mail.util that implement DataSource Modifier and Type Class Description classByteArrayDataSourceA DataSource backed by a byte array.
-