BodyPartpublic abstract class BodyPart extends Object implements PartThis class models a Part that is contained within a Multipart.
This is an abstract class. Subclasses provide actual implementations.
BodyPart implements the Part interface. Thus, it contains a set of
attributes and a "content". |
Fields Summary |
---|
protected Multipart | parentThe Multipart object containing this BodyPart ,
if known. |
Methods Summary |
---|
public javax.mail.Multipart | getParent()Return the containing Multipart object,
or null if not known.
return parent;
| void | setParent(javax.mail.Multipart parent)Set the parent of this BodyPart to be the specified
Multipart . Normally called by Multipart 's
addBodyPart method. parent may be
null if the BodyPart is being removed
from its containing Multipart .
this.parent = parent;
|
|