public class SMimeMultipart
extends javax.mail.internet.MimeMultipart
This class shall used when creating a multipart object to be send within a
multipart/signed message. When using the parent MimeMultipart
class no canonicalization is performed.
| Constructor and Description |
|---|
SMimeMultipart()
Default constructor.
|
SMimeMultipart(javax.activation.DataSource ds)
Creates a new MimeMultipart and its bodyparts from the given DataSource.
|
SMimeMultipart(java.lang.String subtype)
Creates a new MimeMultipart for the given subtype.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
updateHeaders()
Updates the headers of all included body parts.
|
addBodyPart, addBodyPart, createInternetHeaders, createMimeBodyPart, createMimeBodyPart, getBodyPart, getBodyPart, getCount, getPreamble, isComplete, parse, removeBodyPart, removeBodyPart, setPreamble, setSubType, writeTopublic SMimeMultipart()
public SMimeMultipart(javax.activation.DataSource ds)
throws javax.mail.MessagingException
Only calls the corresponding constructor of the MimeMultipart
super class.
ds - the DataSource from which to create the MimeMultipartjavax.mail.MessagingException - if an error occurs when creating the MimeMultipartpublic SMimeMultipart(java.lang.String subtype)
Only calls the corresponding constructor of the MimeMultipart
super class.
subtype - the Mime subtypeprotected void updateHeaders()
throws javax.mail.MessagingException
The SignedContent class
must have access to this protected method. And that´s the reason
for extending the javax.mail.internet.MimeMultipart
class.
updateHeaders in class javax.mail.internet.MimeMultipartjavax.mail.MessagingException - if an error occurs during the updating process