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.xml.bind.attachment |
This package is implemented by a MIME-based package processor that
enables the interpretation and creation of optimized binary data
within an MIME-based package format.
|
jakarta.xml.soap |
Provides the API for creating and building SOAP messages.
|
Modifier and Type | Method and Description |
---|---|
Object |
CommandInfo.getCommandObject(DataHandler dh,
ClassLoader loader)
Return the instantiated JavaBean component.
|
void |
CommandObject.setCommandContext(String verb,
DataHandler dh)
Initialize the Command with the verb it is requested to handle
and the DataHandler that describes the data it will
operate on.
|
Modifier and Type | Method and Description |
---|---|
DataHandler |
Part.getDataHandler()
Return a DataHandler for the content within this part.
|
Modifier and Type | Method and Description |
---|---|
void |
Part.setDataHandler(DataHandler dh)
This method provides the mechanism to set this part's content.
|
Modifier and Type | Field and Description |
---|---|
protected DataHandler |
MimeMessage.dh
The DataHandler object representing this Message's content.
|
protected DataHandler |
MimeBodyPart.dh
The DataHandler object representing this Part's content.
|
Modifier and Type | Method and Description |
---|---|
DataHandler |
MimeMessage.getDataHandler()
Return a DataHandler for this Message's content.
|
DataHandler |
MimeBodyPart.getDataHandler()
Return a DataHandler for this body part's content.
|
Modifier and Type | Method and Description |
---|---|
static String |
MimeUtility.getEncoding(DataHandler dh)
Same as
getEncoding(DataSource) except that instead
of reading the data from an InputStream it uses the
writeTo method to examine the data. |
void |
MimeMessage.setDataHandler(DataHandler dh)
This method provides the mechanism to set this part's content.
|
void |
MimeBodyPart.setDataHandler(DataHandler dh)
This method provides the mechanism to set this body part's content.
|
Modifier and Type | Method and Description |
---|---|
abstract DataHandler |
AttachmentUnmarshaller.getAttachmentAsDataHandler(String cid)
Lookup MIME content by content-id,
cid , and return as a DataHandler . |
Modifier and Type | Method and Description |
---|---|
abstract String |
AttachmentMarshaller.addMtomAttachment(DataHandler data,
String elementNamespace,
String elementLocalName)
Consider MIME content
data for optimized binary storage as an attachment. |
abstract String |
AttachmentMarshaller.addSwaRefAttachment(DataHandler data)
Add MIME
data as an attachment and return attachment's content-id, cid. |
Modifier and Type | Method and Description |
---|---|
abstract DataHandler |
AttachmentPart.getDataHandler()
Gets the
DataHandler object for this AttachmentPart
object. |
Modifier and Type | Method and Description |
---|---|
AttachmentPart |
SOAPMessage.createAttachmentPart(DataHandler dataHandler)
Creates an
AttachmentPart object and populates it using
the given DataHandler object. |
abstract void |
AttachmentPart.setDataHandler(DataHandler dataHandler)
Sets the given
DataHandler object as the data handler
for this AttachmentPart object. |
Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.