javax.mail
类 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 |
| 从接口 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.
Copyright © 2013. All Rights Reserved.