Package com.sun.mail.dsn
Class message_deliverystatus
java.lang.Object
com.sun.mail.dsn.message_deliverystatus
- All Implemented Interfaces:
DataContentHandler
DataContentHandler 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 -
Method Summary
Modifier and TypeMethodDescriptiongetContent
(DataSource ds) Return the content.getTransferData
(DataFlavor df, DataSource ds) return the Transfer Data of type DataFlavor from InputStreamreturn the DataFlavors for thisDataContentHandler
void
writeTo
(Object obj, String mimeType, OutputStream os)
-
Constructor Details
-
message_deliverystatus
public message_deliverystatus()
-
-
Method Details
-
getTransferDataFlavors
return the DataFlavors for thisDataContentHandler
- Specified by:
getTransferDataFlavors
in interfaceDataContentHandler
- Returns:
- The DataFlavors.
-
getTransferData
return the Transfer Data of type DataFlavor from InputStream- Specified by:
getTransferData
in interfaceDataContentHandler
- Parameters:
df
- The DataFlavor.ds
- The DataSource corresponding to the data.- Returns:
- a Message object
- Throws:
IOException
-
getContent
Return the content.- Specified by:
getContent
in interfaceDataContentHandler
- Throws:
IOException
-
writeTo
- Specified by:
writeTo
in interfaceDataContentHandler
- Throws:
IOException
-