Uses of Class
jakarta.activation.DataHandler
Packages that use DataHandler
Package
Description
Jakarta Activation is used by Jakarta Mail to manage MIME data.
The Jakarta Mail API
provides classes that model a mail system.
Classes specific to Internet mail systems.
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.
Provides the API for creating and building SOAP messages.
-
Uses of DataHandler in jakarta.activation
Methods in jakarta.activation with parameters of type DataHandlerModifier and TypeMethodDescriptionCommandInfo.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. -
Uses of DataHandler in jakarta.mail
Methods in jakarta.mail that return DataHandlerModifier and TypeMethodDescriptionPart.getDataHandler()
Return a DataHandler for the content within this part.Methods in jakarta.mail with parameters of type DataHandlerModifier and TypeMethodDescriptionvoid
Part.setDataHandler
(DataHandler dh) This method provides the mechanism to set this part's content. -
Uses of DataHandler in jakarta.mail.internet
Fields in jakarta.mail.internet declared as DataHandlerModifier and TypeFieldDescriptionprotected DataHandler
MimeBodyPart.dh
The DataHandler object representing this Part's content.protected DataHandler
MimeMessage.dh
The DataHandler object representing this Message's content.Methods in jakarta.mail.internet that return DataHandlerModifier and TypeMethodDescriptionMimeBodyPart.getDataHandler()
Return a DataHandler for this body part's content.MimeMessage.getDataHandler()
Return a DataHandler for this Message's content.Methods in jakarta.mail.internet with parameters of type DataHandlerModifier and TypeMethodDescriptionstatic String
MimeUtility.getEncoding
(DataHandler dh) Same asgetEncoding(DataSource)
except that instead of reading the data from anInputStream
it uses thewriteTo
method to examine the data.void
MimeBodyPart.setDataHandler
(DataHandler dh) This method provides the mechanism to set this body part's content.void
MimeMessage.setDataHandler
(DataHandler dh) This method provides the mechanism to set this part's content. -
Uses of DataHandler in jakarta.xml.bind.attachment
Methods in jakarta.xml.bind.attachment that return DataHandlerModifier and TypeMethodDescriptionabstract DataHandler
AttachmentUnmarshaller.getAttachmentAsDataHandler
(String cid) Lookup MIME content by content-id,cid
, and return as aDataHandler
.Methods in jakarta.xml.bind.attachment with parameters of type DataHandlerModifier and TypeMethodDescriptionabstract String
AttachmentMarshaller.addMtomAttachment
(DataHandler data, String elementNamespace, String elementLocalName) Consider MIME contentdata
for optimized binary storage as an attachment.abstract String
AttachmentMarshaller.addSwaRefAttachment
(DataHandler data) Add MIMEdata
as an attachment and return attachment's content-id, cid. -
Uses of DataHandler in jakarta.xml.soap
Methods in jakarta.xml.soap that return DataHandlerModifier and TypeMethodDescriptionabstract DataHandler
AttachmentPart.getDataHandler()
Gets theDataHandler
object for thisAttachmentPart
object.Methods in jakarta.xml.soap with parameters of type DataHandlerModifier and TypeMethodDescriptionSOAPMessage.createAttachmentPart
(DataHandler dataHandler) Creates anAttachmentPart
object and populates it using the givenDataHandler
object.abstract void
AttachmentPart.setDataHandler
(DataHandler dataHandler) Sets the givenDataHandler
object as the data handler for thisAttachmentPart
object.