javax.mail.internet
Class MimePartDataSource

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

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

Version:
$Rev: 467553 $ $Date: 2006-10-25 06:01:51 +0200 (Wed, 25 Oct 2006) $

Constructor Summary
MimePartDataSource(MimePart part)
           
 
Method Summary
 java.lang.String getContentType()
           
 java.io.InputStream getInputStream()
           
 MessageContext getMessageContext()
           
 java.lang.String getName()
           
 java.io.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

getInputStream

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

getOutputStream

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

getContentType

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

getName

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

getMessageContext

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


Copyright © {inceptionYear}-2007 null. All Rights Reserved.