⇒ Index (Frames) |  ⇒ Index (No Frames) |  ⇒ Package |  ⇒ Package Tree |  ⇒ Full Tree 
javax.mail

Class BodyPart

java.lang.Object
|
+--javax.mail.BodyPart

All Implemented Interfaces:
Part

Known Direct Subclasses:
MimeBodyPart


public abstract class BodyPart
extends java.lang.Object
implements Part

This 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".

Author:

Field Summary

Multipart

parent

The Multipart object containing this BodyPart, if known.

Method Summary

Multipart

getParent()

Return the containing Multipart object, or null if not known.

Field Details

parent

protected Multipart parent

The Multipart object containing this BodyPart, if known.

Method Details

getParent

public Multipart getParent()

Return the containing Multipart object, or null if not known.