Package com.sun.mail.dsn
Class message_deliverystatus
- java.lang.Object
-
- com.sun.mail.dsn.message_deliverystatus
-
- All Implemented Interfaces:
javax.activation.DataContentHandler
public class message_deliverystatus extends java.lang.Object implements javax.activation.DataContentHandlerDataContentHandler for message/delivery-status MIME type. Applications should not use this class directly, it's used indirectly through the JavaBeans Activation Framework.- Since:
- JavaMail 1.4
-
-
Constructor Summary
Constructors Constructor Description message_deliverystatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetContent(javax.activation.DataSource ds)Return the content.java.lang.ObjectgetTransferData(java.awt.datatransfer.DataFlavor df, javax.activation.DataSource ds)return the Transfer Data of type DataFlavor from InputStreamjava.awt.datatransfer.DataFlavor[]getTransferDataFlavors()return the DataFlavors for thisDataContentHandlervoidwriteTo(java.lang.Object obj, java.lang.String mimeType, java.io.OutputStream os)
-
-
-
Method Detail
-
getTransferDataFlavors
public java.awt.datatransfer.DataFlavor[] getTransferDataFlavors()
return the DataFlavors for thisDataContentHandler- Specified by:
getTransferDataFlavorsin interfacejavax.activation.DataContentHandler- Returns:
- The DataFlavors.
-
getTransferData
public java.lang.Object getTransferData(java.awt.datatransfer.DataFlavor df, javax.activation.DataSource ds) throws java.io.IOExceptionreturn the Transfer Data of type DataFlavor from InputStream- Specified by:
getTransferDatain interfacejavax.activation.DataContentHandler- Parameters:
df- The DataFlavor.ds- The DataSource corresponding to the data.- Returns:
- a Message object
- Throws:
java.io.IOException
-
getContent
public java.lang.Object getContent(javax.activation.DataSource ds) throws java.io.IOExceptionReturn the content.- Specified by:
getContentin interfacejavax.activation.DataContentHandler- Throws:
java.io.IOException
-
writeTo
public void writeTo(java.lang.Object obj, java.lang.String mimeType, java.io.OutputStream os) throws java.io.IOException- Specified by:
writeToin interfacejavax.activation.DataContentHandler- Throws:
java.io.IOException
-
-