Uses of Interface
javax.activation.DataSource
-
Packages that use DataSource Package Description com.sun.mail.handlers This package includes internal data handler support classes and SHOULD NOT BE USED DIRECTLY BY APPLICATIONS.com.sun.mail.imap An IMAP protocol provider for the JavaMail API that provides access to an IMAP message store.javax.activation The JavaBeans(TM) Activation Framework is used by the JavaMail(TM) API to manage MIME data.javax.mail The JavaMail™ API provides classes that model a mail system.javax.mail.internet Classes specific to Internet mail systems.javax.mail.util JavaMail API utility classes. -
-
Uses of DataSource in com.sun.mail.handlers
Methods in com.sun.mail.handlers with parameters of type DataSource Modifier and Type Method Description java.lang.Object
image_gif. getContent(DataSource ds)
java.lang.Object
message_rfc822. getContent(DataSource ds)
Return the content.java.lang.Object
multipart_mixed. getContent(DataSource ds)
Return the content.java.lang.Object
text_plain. getContent(DataSource ds)
protected java.lang.Object
handler_base. getData(ActivationDataFlavor aFlavor, DataSource ds)
Given the flavor that matched, return the appropriate type of object.protected java.lang.Object
text_xml. getData(ActivationDataFlavor aFlavor, DataSource ds)
java.lang.Object
handler_base. getTransferData(ActivationDataFlavor df, DataSource ds)
Return the Transfer Data of type DataFlavor from InputStream. -
Uses of DataSource in com.sun.mail.imap
Classes in com.sun.mail.imap that implement DataSource Modifier and Type Class Description class
IMAPMultipartDataSource
This class -
Uses of DataSource in javax.activation
Classes in javax.activation that implement DataSource Modifier and Type Class Description (package private) class
DataHandlerDataSource
The DataHanderDataSource class implements the DataSource interface when the DataHandler is constructed with an Object and a mimeType string.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.Fields in javax.activation declared as DataSource Modifier and Type Field Description private DataSource
DataHandler. dataSource
private DataSource
DataSourceDataContentHandler. ds
private DataSource
DataHandler. objDataSource
Methods in javax.activation that return DataSource Modifier and Type Method Description DataSource
DataHandler. getDataSource()
Return the DataSource associated with this instance of DataHandler.Methods in javax.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.java.lang.Object
DataSourceDataContentHandler. getContent(DataSource ds)
java.lang.Object
ObjectDataContentHandler. getContent(DataSource ds)
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.java.lang.Object
DataSourceDataContentHandler. getTransferData(ActivationDataFlavor df, DataSource ds)
Return the Transfer Data of type DataFlavor from InputStream.java.lang.Object
ObjectDataContentHandler. getTransferData(ActivationDataFlavor 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 aDataHandler
instance referencing the specified DataSource.DataSourceDataContentHandler(DataContentHandler dch, DataSource ds)
The constructor. -
Uses of DataSource in javax.mail
Subinterfaces of DataSource in javax.mail Modifier and Type Interface Description interface
MultipartDataSource
MultipartDataSource is aDataSource
that contains body parts. -
Uses of DataSource in javax.mail.internet
Classes in javax.mail.internet that implement DataSource Modifier and Type Class Description private static class
MimeBodyPart.EncodedFileDataSource
A FileDataSource class that allows us to specify the Content-Type and Content-Transfer-Encoding.class
MimePartDataSource
A utility class that implements a DataSource out of a MimePart.Fields in javax.mail.internet declared as DataSource Modifier and Type Field Description protected DataSource
MimeMultipart. ds
The DataSource supplying our InputStream.Methods in javax.mail.internet with parameters of type DataSource Modifier and Type Method Description static java.lang.String
MimeUtility. 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 javax.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 javax.mail.util
Classes in javax.mail.util that implement DataSource Modifier and Type Class Description class
ByteArrayDataSource
A DataSource backed by a byte array.
-