Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.mail.internet
Class MimeMultipartTest.DummyMultipartHandler  view MimeMultipartTest.DummyMultipartHandler download MimeMultipartTest.DummyMultipartHandler.java

java.lang.Object
  extended byjavax.mail.internet.MimeMultipartTest.DummyMultipartHandler
All Implemented Interfaces:
javax.activation.DataContentHandler
Enclosing class:
MimeMultipartTest

public static class MimeMultipartTest.DummyMultipartHandler
extends java.lang.Object
implements javax.activation.DataContentHandler


Constructor Summary
MimeMultipartTest.DummyMultipartHandler()
           
 
Method Summary
 java.lang.Object getContent(javax.activation.DataSource ds)
           
 java.lang.Object getTransferData(java.awt.datatransfer.DataFlavor df, javax.activation.DataSource ds)
           
 java.awt.datatransfer.DataFlavor[] getTransferDataFlavors()
           
 void writeTo(java.lang.Object obj, java.lang.String mimeType, java.io.OutputStream os)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MimeMultipartTest.DummyMultipartHandler

public MimeMultipartTest.DummyMultipartHandler()
Method Detail

getTransferDataFlavors

public java.awt.datatransfer.DataFlavor[] getTransferDataFlavors()
Specified by:
getTransferDataFlavors in interface javax.activation.DataContentHandler

getTransferData

public java.lang.Object getTransferData(java.awt.datatransfer.DataFlavor df,
                                        javax.activation.DataSource ds)
                                 throws java.awt.datatransfer.UnsupportedFlavorException,
                                        java.io.IOException
Specified by:
getTransferData in interface javax.activation.DataContentHandler

getContent

public java.lang.Object getContent(javax.activation.DataSource ds)
                            throws java.io.IOException
Specified by:
getContent in interface javax.activation.DataContentHandler

writeTo

public void writeTo(java.lang.Object obj,
                    java.lang.String mimeType,
                    java.io.OutputStream os)
             throws java.io.IOException
Specified by:
writeTo in interface javax.activation.DataContentHandler