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.
|
Modifier and Type | Class and Description |
---|---|
class |
FileDataSource
The FileDataSource class implements a simple DataSource object
that encapsulates a file.
|
class |
URLDataSource
The URLDataSource class provides an object that wraps a
URL
object in a DataSource interface. |
Modifier and Type | Method and Description |
---|---|
DataSource |
DataHandler.getDataSource()
Return the DataSource associated with this instance
of DataHandler.
|
Modifier and Type | Method and Description |
---|---|
DataContentHandler |
CommandMap.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.
|
CommandInfo |
CommandMap.getCommand(String mimeType,
String cmdName,
DataSource ds)
Get the default command corresponding to the MIME type.
|
Object |
DataContentHandler.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.
|
Object |
DataContentHandler.getTransferData(ActivationDataFlavor df,
DataSource ds)
Returns an object which represents the data to be transferred.
|
Constructor and Description |
---|
DataHandler(DataSource ds)
Create a
DataHandler instance referencing the
specified DataSource. |
Modifier and Type | Interface and Description |
---|---|
interface |
MultipartDataSource
MultipartDataSource is a
DataSource that contains body
parts. |
Modifier and Type | Class and Description |
---|---|
class |
MimePartDataSource
A utility class that implements a DataSource out of
a MimePart.
|
Modifier and Type | Field and Description |
---|---|
protected DataSource |
MimeMultipart.ds
The DataSource supplying our InputStream.
|
Modifier and Type | Method and Description |
---|---|
static 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.
|
Constructor and Description |
---|
MimeMultipart(DataSource ds)
Constructs a MimeMultipart object and its bodyparts from the
given DataSource.
|
Modifier and Type | Class and Description |
---|---|
class |
ByteArrayDataSource
A DataSource backed by a byte array.
|
Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.