Class BodyPart
java.lang.Object
javax.mail.BodyPart
- All Implemented Interfaces:
Part
- Direct Known Subclasses:
MimeBodyPart
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected MultipartTheMultipartobject containing thisBodyPart, if known.Fields inherited from interface Part
ATTACHMENT, INLINE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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
-
Field Details
-
parent
TheMultipartobject containing thisBodyPart, if known.- Since:
- JavaMail 1.1
-
-
Constructor Details
-
BodyPart
public BodyPart()
-
-
Method Details
-
getParent
Return the containingMultipartobject, ornullif not known.- Returns:
- the parent Multipart
-