|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.mail Class BodyPart
java.lang.Object javax.mail.BodyPart
- All Implemented Interfaces:
- Part
- Direct Known Subclasses:
- MimeBodyPart
Implements:
Part
Extended by:
MimeBodyPart
此类模拟包含在 Multipart 中的一个 Part。这是一个抽象类。子类提供实际实现。
BodyPart 实现 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".
- Author:
- John Mani, Bill Shannon
Field Summary | |
---|---|
protected Multipart |
parent
The Multipart object containing this BodyPart ,
if known. |
Fields inherited from interface javax.mail.Part |
---|
ATTACHMENT, INLINE |
Constructor Summary | |
---|---|
BodyPart()
|
Method Summary | |
---|---|
Multipart |
getParent()
Return the containing Multipart object,
or null if not known. |
Methods inherited from class 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 |
Field Detail |
---|
英文文档:
parent
protected Multipart parent
- The
Multipart
object containing thisBodyPart
, if known.- Since:
- JavaMail 1.1
Constructor Detail |
---|
public
BodyPart()
英文文档:
BodyPart
public BodyPart()
Method Detail |
---|
public Multipart
getParent()
返回包含此 BodyPart 的 Multipart
对象;如果该对象未知,则返回 null
。
英文文档:
getParent
public Multipart getParent()
- Return the containing
Multipart
object, ornull
if not known.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!