javax.mail.internet
Class MimePartDataSource

java.lang.Object
  extended byjavax.mail.internet.MimePartDataSource
All Implemented Interfaces:
javax.activation.DataSource, MessageAware

public class MimePartDataSource
extends Object
implements javax.activation.DataSource, MessageAware

Version:
$Revision: 1.3 $ $Date: 2004/03/10 10:00:28 $

Constructor Summary
MimePartDataSource(MimePart part)
           
 
Method Summary
 String getContentType()
           
 InputStream getInputStream()
           
 MessageContext getMessageContext()
           
 String getName()
           
 OutputStream getOutputStream()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MimePartDataSource

public MimePartDataSource(MimePart part)
Method Detail

getContentType

public String getContentType()
Specified by:
getContentType in interface javax.activation.DataSource

getInputStream

public InputStream getInputStream()
                           throws IOException
Specified by:
getInputStream in interface javax.activation.DataSource
Throws:
IOException

getMessageContext

public MessageContext getMessageContext()
Specified by:
getMessageContext in interface MessageAware

getName

public String getName()
Specified by:
getName in interface javax.activation.DataSource

getOutputStream

public OutputStream getOutputStream()
                             throws IOException
Specified by:
getOutputStream in interface javax.activation.DataSource
Throws:
IOException


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.