javax.mail
Class Multipart
java.lang.Object
javax.mail.Multipart
- Direct Known Subclasses:
- MimeMultipart
- public abstract class Multipart
- extends Object
- Version:
- $Revision: 1.3 $ $Date: 2004/03/10 10:00:27 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
contentType
protected String contentType
parent
protected Part parent
parts
protected Vector parts
Multipart
protected Multipart()
addBodyPart
public void addBodyPart(BodyPart part)
throws MessagingException
- Throws:
MessagingException
addBodyPart
public void addBodyPart(BodyPart part,
int pos)
throws MessagingException
- Throws:
MessagingException
getBodyPart
public BodyPart getBodyPart(int index)
throws MessagingException
- Throws:
MessagingException
getContentType
public String getContentType()
getCount
public int getCount()
throws MessagingException
- Throws:
MessagingException
getParent
public Part getParent()
removeBodyPart
public boolean removeBodyPart(BodyPart part)
throws MessagingException
- Throws:
MessagingException
removeBodyPart
public void removeBodyPart(int index)
throws MessagingException
- Throws:
MessagingException
setMultipartDataSource
protected void setMultipartDataSource(MultipartDataSource mds)
throws MessagingException
- Throws:
MessagingException
setParent
public void setParent(Part part)
writeTo
public abstract void writeTo(OutputStream out)
throws IOException,
MessagingException
- Throws:
IOException
MessagingException
Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.