This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


com.sun.mail.handlers
class message_rfc822

com.sun.mail.handlers.message_rfc822
All Implemented Interfaces:
DataContentHandler

public class message_rfc822
extends Object
implements DataContentHandler


Constructor Summary

          
 
Method Summary
 Object

          Return the content.
 Object

          return the Transfer Data of type DataFlavor from InputStream
 DataFlavor[]

          return the DataFlavors for this DataContentHandler
 void
writeTo(Object obj, String mimeType, OutputStream os)

          construct an object from a byte stream (similar semantically to previous method, we are deciding which one to support)
 

Constructor Detail

message_rfc822

public message_rfc822()
Method Detail

getContent

public Object getContent(DataSource ds)
                  throws IOException
Return the content.

Parameters:
ds
Throws:
IOException

getTransferData

public Object getTransferData(DataFlavor df,
                              DataSource ds)
                       throws IOException
return the Transfer Data of type DataFlavor from InputStream

Parameters:
df - The DataFlavor.
ds
Returns:
a Message object
Throws:
IOException

getTransferDataFlavors

public DataFlavor[] getTransferDataFlavors()
return the DataFlavors for this DataContentHandler

Returns:
The DataFlavors.

writeTo

public void writeTo(Object obj,
                    String mimeType,
                    OutputStream os)
             throws IOException
construct an object from a byte stream (similar semantically to previous method, we are deciding which one to support)

Parameters:
obj
mimeType
os
Throws:
IOException


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention. The official Sun™ documentation can be found here at http://java.sun.com/products/javamail/javadocs/index.html.