public abstract class BodyPart extends 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. |
ATTACHMENT, INLINE
Constructor and Description |
---|
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, wait
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
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.