javax.mail
Class BodyPart
java.lang.Object
javax.mail.BodyPart
- 所有已实现的接口:
- Part
- 直接已知子类:
- MimeBodyPart
public abstract class BodyPart
- extends 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".
- 作者:
- John Mani, Bill Shannon
字段摘要 |
protected Multipart |
parent
The Multipart object containing this BodyPart ,
if known. |
类方法继承 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.mail.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 |
parent
protected Multipart parent
- The
Multipart
object containing this BodyPart
,
if known.
- 从以下版本开始:
- JavaMail 1.1
BodyPart
public BodyPart()
getParent
public Multipart getParent()
- Return the containing
Multipart
object,
or null
if not known.
提交错误或意见 版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.