Uses of Class
jakarta.activation.DataHandler
-
Packages that use DataHandler 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. -
-
Uses of DataHandler in jakarta.activation
Methods in jakarta.activation with parameters of type DataHandler Modifier and Type Method Description ObjectCommandInfo. getCommandObject(DataHandler dh, ClassLoader loader)Return the instantiated JavaBean component.voidCommandObject. 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 DataHandler Modifier and Type Method Description DataHandlerPart. getDataHandler()Return a DataHandler for the content within this part.Methods in jakarta.mail with parameters of type DataHandler Modifier and Type Method Description voidPart. 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 DataHandler Modifier and Type Field Description protected DataHandlerMimeBodyPart. dhThe DataHandler object representing this Part's content.protected DataHandlerMimeMessage. dhThe DataHandler object representing this Message's content.Methods in jakarta.mail.internet that return DataHandler Modifier and Type Method Description DataHandlerMimeBodyPart. getDataHandler()Return a DataHandler for this body part's content.DataHandlerMimeMessage. getDataHandler()Return a DataHandler for this Message's content.Methods in jakarta.mail.internet with parameters of type DataHandler Modifier and Type Method Description static StringMimeUtility. getEncoding(DataHandler dh)Same asgetEncoding(DataSource)except that instead of reading the data from anInputStreamit uses thewriteTomethod to examine the data.voidMimeBodyPart. setDataHandler(DataHandler dh)This method provides the mechanism to set this body part's content.voidMimeMessage. 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 DataHandler Modifier and Type Method Description abstract DataHandlerAttachmentUnmarshaller. getAttachmentAsDataHandler(String cid)Lookup MIME content by content-id,cid, and return as aDataHandler.Methods in jakarta.xml.bind.attachment with parameters of type DataHandler Modifier and Type Method Description abstract StringAttachmentMarshaller. addMtomAttachment(DataHandler data, String elementNamespace, String elementLocalName)Consider MIME contentdatafor optimized binary storage as an attachment.abstract StringAttachmentMarshaller. addSwaRefAttachment(DataHandler data)Add MIMEdataas an attachment and return attachment's content-id, cid. -
Uses of DataHandler in jakarta.xml.soap
Methods in jakarta.xml.soap that return DataHandler Modifier and Type Method Description abstract DataHandlerAttachmentPart. getDataHandler()Gets theDataHandlerobject for thisAttachmentPartobject.Methods in jakarta.xml.soap with parameters of type DataHandler Modifier and Type Method Description AttachmentPartSOAPMessage. createAttachmentPart(DataHandler dataHandler)Creates anAttachmentPartobject and populates it using the givenDataHandlerobject.abstract voidAttachmentPart. setDataHandler(DataHandler dataHandler)Sets the givenDataHandlerobject as the data handler for thisAttachmentPartobject.
-