javax.mail
Class BodyPart
java.lang.Object
javax.mail.BodyPart
- All Implemented Interfaces:
- Part
- Direct Known Subclasses:
- MimeBodyPart
public abstract class BodyPart
- extends Object
- implements Part
A MIME body part. This is a MIME part occurring inside a multipart in the
message content.
- Version:
- 1.4
- Author:
- Chris Burdess
Field Summary |
protected Multipart |
parent
The Multipart object containing this BodyPart. |
Method Summary |
Multipart |
getParent()
Returns the containing Multipart object, or null if not
known. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.mail.Part |
addHeader, getAllHeaders, getContent, getContentType, getDataHandler, getDescription, getDisposition, getFileName, getHeader, getInputStream, getLineCount, getMatchingHeaders, getNonMatchingHeaders, getSize, isMimeType, removeHeader, setContent, setContent, setDataHandler, setDescription, setDisposition, setFileName, setHeader, setText, writeTo |
parent
protected Multipart parent
- The Multipart object containing this BodyPart.
BodyPart
public BodyPart()
getParent
public Multipart getParent()
- Returns the containing Multipart object, or
null
if not
known.
© Copyright 2003, 2004
The Free Software Foundation, All rights reserved