javax.mail.internet
Class MimePartDataSource
java.lang.Object
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: 149344 $ $Date: 2005-02-01 02:07:44 +0100 (Tue, 01 Feb 2005) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MimePartDataSource
public MimePartDataSource(MimePart part)
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}-2009 null. All Rights Reserved.