Package com.sun.mail.handlers
Class multipart_mixed
java.lang.Object
com.sun.mail.handlers.handler_base
com.sun.mail.handlers.multipart_mixed
- All Implemented Interfaces:
DataContentHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetContent
(DataSource ds) Return the content.protected ActivationDataFlavor[]
Return an array of ActivationDataFlavors that we support.void
writeTo
(Object obj, String mimeType, OutputStream os) Write the object to the output stream, using the specific MIME type.Methods inherited from class com.sun.mail.handlers.handler_base
getData, getTransferData, getTransferDataFlavors
-
Constructor Details
-
multipart_mixed
public multipart_mixed()
-
-
Method Details
-
getDataFlavors
Description copied from class:handler_base
Return an array of ActivationDataFlavors that we support. Usually there will be only one.- Specified by:
getDataFlavors
in classhandler_base
- Returns:
- array of ActivationDataFlavors that we support
-
getContent
Return the content.- Throws:
IOException
-
writeTo
Write the object to the output stream, using the specific MIME type.- Throws:
IOException
-