Package com.sun.mail.dsn
Class message_dispositionnotification
java.lang.Object
com.sun.mail.dsn.message_dispositionnotification
- All Implemented Interfaces:
DataContentHandler
DataContentHandler for message/disposition-notification MIME type.
Applications should not use this class directly, it's used indirectly
through the JavaBeans Activation Framework.
- Since:
- JavaMail 1.4.2
-
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 thisDataContentHandlervoidwriteTo(Object obj, String mimeType, OutputStream os)
-
Constructor Details
-
message_dispositionnotification
public message_dispositionnotification()
-
-
Method Details
-
getTransferDataFlavors
return the DataFlavors for thisDataContentHandler- Specified by:
getTransferDataFlavorsin interfaceDataContentHandler- Returns:
- The DataFlavors.
-
getTransferData
return the Transfer Data of type DataFlavor from InputStream- Specified by:
getTransferDatain interfaceDataContentHandler- Parameters:
df- The DataFlavor.ds- The DataSource corresponding to the data.- Returns:
- a Message object
- Throws:
IOException
-
getContent
Return the content.- Specified by:
getContentin interfaceDataContentHandler- Throws:
IOException
-
writeTo
- Specified by:
writeToin interfaceDataContentHandler- Throws:
IOException
-