public class

multipart_mixed

extends Object
implements DataContentHandler
java.lang.Object
   ↳ com.google.code.com.sun.mail.handlers.multipart_mixed

Summary

Fields
private ActivationDataFlavor myDF
Public Constructors
multipart_mixed()
Public Methods
Object getContent(DataSource ds)
Return the content.
Object getTransferData(DataFlavor df, DataSource ds)
Return the Transfer Data of type DataFlavor from InputStream.
DataFlavor[] getTransferDataFlavors()
Return the DataFlavors for this DataContentHandler.
void writeTo(Object obj, String mimeType, OutputStream os)
Write the object to the output stream, using the specific MIME type.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.google.code.javax.activation.DataContentHandler

Fields

private ActivationDataFlavor myDF

Public Constructors

public multipart_mixed ()

Public Methods

public Object getContent (DataSource ds)

Return the content.

Parameters
ds The DataSource representing the data to be converted.
Returns
  • The constructed Object.
Throws
IOException

public Object getTransferData (DataFlavor df, DataSource ds)

Return the Transfer Data of type DataFlavor from InputStream.

Parameters
df The DataFlavor
ds The DataSource representing the data to be converted.
Returns
  • String object
Throws
IOException

public DataFlavor[] getTransferDataFlavors ()

Return the DataFlavors for this DataContentHandler.

Returns
  • The DataFlavors

public void writeTo (Object obj, String mimeType, OutputStream os)

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

Parameters
obj The object to be converted.
mimeType The requested MIME type of the resulting byte stream.
os The output stream into which to write the converted byte stream.
Throws
IOException