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.Objectimage_gif. getContent(DataSource ds)java.lang.Objectmessage_rfc822. getContent(DataSource ds)Return the content.java.lang.Objectmultipart_mixed. getContent(DataSource ds)Return the content.java.lang.Objecttext_plain. getContent(DataSource ds)protected java.lang.Objecthandler_base. getData(ActivationDataFlavor aFlavor, DataSource ds)Given the flavor that matched, return the appropriate type of object.protected java.lang.Objecttext_xml. getData(ActivationDataFlavor aFlavor, DataSource ds)java.lang.Objecthandler_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 classIMAPMultipartDataSourceThis class -
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(ActivationDataFlavor df, DataSource ds)Returns an object which represents the data to be transferred.java.lang.ObjectDataSourceDataContentHandler. getTransferData(ActivationDataFlavor df, DataSource ds)Return the Transfer Data of type DataFlavor from InputStream.java.lang.ObjectObjectDataContentHandler. 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 aDataHandlerinstance 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 interfaceMultipartDataSourceMultipartDataSource is aDataSourcethat 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 classMimeBodyPart.EncodedFileDataSourceA FileDataSource class that allows us to specify the Content-Type and Content-Transfer-Encoding.classMimePartDataSourceA utility class that implements a DataSource out of a MimePart.Fields in javax.mail.internet declared as DataSource Modifier and Type Field Description protected DataSourceMimeMultipart. dsThe DataSource supplying our InputStream.Methods in javax.mail.internet with parameters of type DataSource Modifier and Type Method Description static java.lang.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 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 classByteArrayDataSourceA DataSource backed by a byte array.
-