public abstract class BodyPart extends java.lang.Object implements Part
BodyPart implements the Part interface. Thus, it contains a set of attributes and a "content".
| Modifier and Type | Field and Description | 
|---|---|
| protected Multipart | parentThe  Multipartobject containing thisBodyPart,
 if known. | 
| protected StreamProvider | streamProviderInstance of stream provider. | 
ATTACHMENT, INLINE| Constructor and Description | 
|---|
| BodyPart()Creates a default  BodyPart. | 
| Modifier and Type | Method and Description | 
|---|---|
| Multipart | getParent()Return the containing  Multipartobject,
 ornullif not known. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddHeader, getAllHeaders, getContent, getContentType, getDataHandler, getDescription, getDisposition, getFileName, getHeader, getInputStream, getLineCount, getMatchingHeaders, getNonMatchingHeaders, getSize, isMimeType, removeHeader, setContent, setContent, setDataHandler, setDescription, setDisposition, setFileName, setHeader, setText, writeToprotected Multipart parent
Multipart object containing this BodyPart,
 if known.protected final StreamProvider streamProvider
public Multipart getParent()
Multipart object,
 or null if not known.