Package org.eclipse.angus.mail.handlers
Class message_rfc822
java.lang.Object
org.eclipse.angus.mail.handlers.handler_base
org.eclipse.angus.mail.handlers.message_rfc822
- All Implemented Interfaces:
DataContentHandler
- Author:
- Christopher Cotton
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetContent(DataSource ds) Return the content.protected ActivationDataFlavor[]Return an array of ActivationDataFlavors that we support.voidwriteTo(Object obj, String mimeType, OutputStream os) Write the object as a byte stream.Methods inherited from class org.eclipse.angus.mail.handlers.handler_base
getData, getTransferData, getTransferDataFlavors
-
Constructor Details
-
message_rfc822
public message_rfc822()Creates a defaultmessage_rfc822.
-
-
Method Details
-
getDataFlavors
Description copied from class:handler_baseReturn an array of ActivationDataFlavors that we support. Usually there will be only one.- Specified by:
getDataFlavorsin classhandler_base- Returns:
- array of ActivationDataFlavors that we support
-
getContent
Return the content.- Throws:
IOException
-
writeTo
Write the object as a byte stream.- Throws:
IOException
-