javax.mail.internet
Class MimePartDataSource
java.lang.Object
javax.mail.internet.MimePartDataSource
- All Implemented Interfaces:
- DataSource, MessageAware
public class MimePartDataSource
- extends Object
- implements DataSource, MessageAware
- Version:
- $Rev: 149344 $ $Date: 2005-01-31 17:07:44 -0800 (Mon, 31 Jan 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 InputStream getInputStream()
throws IOException
- Specified by:
getInputStream
in interface DataSource
- Throws:
IOException
getOutputStream
public OutputStream getOutputStream()
throws IOException
- Specified by:
getOutputStream
in interface DataSource
- Throws:
IOException
getContentType
public String getContentType()
- Specified by:
getContentType
in interface DataSource
getName
public String getName()
- Specified by:
getName
in interface DataSource
getMessageContext
public MessageContext getMessageContext()
- Specified by:
getMessageContext
in interface MessageAware
Copyright © 2006 Apache Software Foundation. All Rights Reserved.