Package | Description |
---|---|
javax.mail |
The JavaMailTM API
provides classes that model a mail system.
|
javax.mail.internet |
Classes specific to Internet mail systems.
|
Modifier and Type | Method and Description |
---|---|
BodyPart |
MultipartDataSource.getBodyPart(int index)
Get the specified Part.
|
BodyPart |
Multipart.getBodyPart(int index)
Get the specified Part.
|
Modifier and Type | Method and Description |
---|---|
void |
Multipart.addBodyPart(BodyPart part)
Adds a Part to the multipart.
|
void |
Multipart.addBodyPart(BodyPart part,
int index)
Adds a BodyPart at position
index . |
boolean |
Multipart.removeBodyPart(BodyPart part)
Remove the specified part from the multipart message.
|
Modifier and Type | Class and Description |
---|---|
class |
MimeBodyPart
This class represents a MIME body part.
|
class |
PreencodedMimeBodyPart
A MimeBodyPart that handles data that has already been encoded.
|
Modifier and Type | Method and Description |
---|---|
BodyPart |
MimeMultipart.getBodyPart(int index)
Get the specified BodyPart.
|
BodyPart |
MimeMultipart.getBodyPart(String CID)
Get the MimeBodyPart referred to by the given ContentID (CID).
|
Modifier and Type | Method and Description |
---|---|
void |
MimeMultipart.addBodyPart(BodyPart part)
Adds a Part to the multipart.
|
void |
MimeMultipart.addBodyPart(BodyPart part,
int index)
Adds a BodyPart at position
index . |
boolean |
MimeMultipart.removeBodyPart(BodyPart part)
Remove the specified part from the multipart message.
|
Constructor and Description |
---|
MimeMultipart(BodyPart... parts)
Construct a MimeMultipart object of the default "mixed" subtype,
and with the given body parts.
|
MimeMultipart(String subtype,
BodyPart... parts)
Construct a MimeMultipart object of the given subtype
and with the given body parts.
|
Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.