public class message_rfc822
extends java.lang.Object
implements javax.activation.DataContentHandler
| Constructor and Description |
|---|
message_rfc822() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getContent(javax.activation.DataSource ds)
Return the content.
|
java.lang.Object |
getTransferData(java.awt.datatransfer.DataFlavor df,
javax.activation.DataSource ds)
return the Transfer Data of type DataFlavor from InputStream
|
java.awt.datatransfer.DataFlavor[] |
getTransferDataFlavors()
return the DataFlavors for this
DataContentHandler |
void |
writeTo(java.lang.Object obj,
java.lang.String mimeType,
java.io.OutputStream os)
construct an object from a byte stream
(similar semantically to previous method, we are deciding
which one to support)
|
public java.awt.datatransfer.DataFlavor[] getTransferDataFlavors()
DataContentHandlergetTransferDataFlavors in interface javax.activation.DataContentHandlerpublic java.lang.Object getTransferData(java.awt.datatransfer.DataFlavor df,
javax.activation.DataSource ds)
throws java.io.IOException
getTransferData in interface javax.activation.DataContentHandlerdf - The DataFlavor.ds - The DataSource corresponding to the datajava.io.IOExceptionpublic java.lang.Object getContent(javax.activation.DataSource ds)
throws java.io.IOException
getContent in interface javax.activation.DataContentHandlerjava.io.IOExceptionpublic void writeTo(java.lang.Object obj,
java.lang.String mimeType,
java.io.OutputStream os)
throws java.io.IOException
writeTo in interface javax.activation.DataContentHandlerjava.io.IOException"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"