javax.mail.internet
Class MimePartDataSource
java.lang.Object
javax.mail.internet.MimePartDataSource
- All Implemented Interfaces:
- javax.activation.DataSource, MessageAware
public class MimePartDataSource
- extends Object
- implements javax.activation.DataSource, MessageAware
- Version:
- $Rev: 756013 $ $Date: 2009-03-19 15:15:45 +0100 (Do, 19. Mär 2009) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
part
protected MimePart part
MimePartDataSource
public MimePartDataSource(MimePart part)
getInputStream
public InputStream getInputStream()
throws IOException
- Specified by:
getInputStream
in interface javax.activation.DataSource
- Throws:
IOException
getOutputStream
public OutputStream getOutputStream()
throws IOException
- Specified by:
getOutputStream
in interface javax.activation.DataSource
- Throws:
IOException
getContentType
public String getContentType()
- Specified by:
getContentType
in interface javax.activation.DataSource
getName
public String getName()
- Specified by:
getName
in interface javax.activation.DataSource
getMessageContext
public MessageContext getMessageContext()
- Specified by:
getMessageContext
in interface MessageAware
Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.