javax.mail.internet
Class MimeMultipart
java.lang.Object
javax.mail.Multipart
javax.mail.internet.MimeMultipart
- public class MimeMultipart
- extends Multipart
- Version:
- $Revision: 1.3 $ $Date: 2004/03/10 10:00:28 $
Field Summary |
protected javax.activation.DataSource |
ds
|
protected boolean |
parsed
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ds
protected javax.activation.DataSource ds
parsed
protected boolean parsed
MimeMultipart
public MimeMultipart()
MimeMultipart
public MimeMultipart(javax.activation.DataSource dataSource)
throws MessagingException
MimeMultipart
public MimeMultipart(String subtype)
createInternetHeaders
protected InternetHeaders createInternetHeaders(InputStream in)
throws MessagingException
- Throws:
MessagingException
createMimeBodyPart
protected MimeBodyPart createMimeBodyPart(InputStream in)
throws MessagingException
- Throws:
MessagingException
createMimeBodyPart
protected MimeBodyPart createMimeBodyPart(InternetHeaders headers,
byte[] data)
throws MessagingException
- Throws:
MessagingException
getBodyPart
public BodyPart getBodyPart(int part)
throws MessagingException
- Overrides:
getBodyPart
in class Multipart
- Throws:
MessagingException
getBodyPart
public BodyPart getBodyPart(String cid)
throws MessagingException
- Throws:
MessagingException
getCount
public int getCount()
throws MessagingException
- Overrides:
getCount
in class Multipart
- Throws:
MessagingException
parse
protected void parse()
throws MessagingException
- Throws:
MessagingException
setSubType
public void setSubType(String subtype)
throws MessagingException
- Throws:
MessagingException
updateHeaders
protected void updateHeaders()
throws MessagingException
- Throws:
MessagingException
writeTo
public void writeTo(OutputStream out)
throws IOException,
MessagingException
- Specified by:
writeTo
in class Multipart
- Throws:
IOException
MessagingException
Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.