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 |
parent
The
Multipart object containing this BodyPart,
if known. |
protected StreamProvider |
streamProvider
Instance of stream provider.
|
ATTACHMENT, INLINE| Constructor and Description |
|---|
BodyPart()
Creates a default
BodyPart. |
| Modifier and Type | Method and Description |
|---|---|
Multipart |
getParent()
Return the containing
Multipart object,
or null if 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.