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 image_gif

com.sun.mail.handlers.image_gif
All Implemented Interfaces:
DataContentHandler
Direct Known Subclasses:
image_jpeg

public class image_gif
extends Object
implements DataContentHandler

DataContentHandler for image/gif.


Constructor Summary

          
 
Method Summary
 Object

          
protected ActivationDataFlavor

          
 Object

          Return the Transfer Data of type DataFlavor from InputStream.
 DataFlavor[]

          Return the DataFlavors for this DataContentHandler.
 void
writeTo(Object obj, String type, OutputStream os)

          Write the object to the output stream, using the specified MIME type.
 

Constructor Detail

image_gif

public image_gif()
Method Detail

getContent

public Object getContent(DataSource ds)
                  throws IOException
Parameters:
ds
Throws:
IOException

getDF

protected ActivationDataFlavor getDF()

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:
String object
Throws:
IOException

getTransferDataFlavors

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

Returns:
The DataFlavors

writeTo

public void writeTo(Object obj,
                    String type,
                    OutputStream os)
             throws IOException
Write the object to the output stream, using the specified MIME type.

Parameters:
obj
type
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.