org.apache.james.util.mail
Class MimeMultipartReport
java.lang.Object
javax.mail.Multipart
javax.mail.internet.MimeMultipart
org.apache.james.util.mail.MimeMultipartReport
public class MimeMultipartReport
- extends javax.mail.internet.MimeMultipart
Class MimeMultipartReport
implements JavaMail support
for a MIME type of MimeMultipart with a subtype of report.
Fields inherited from class javax.mail.internet.MimeMultipart |
ds, parsed |
Fields inherited from class javax.mail.Multipart |
contentType, parent, parts |
Method Summary |
protected void |
setContentType(javax.mail.internet.ContentType aContentType)
Sets the content type |
void |
setReportType(java.lang.String reportType)
Sets the type of report. |
Methods inherited from class javax.mail.internet.MimeMultipart |
createInternetHeaders, createMimeBodyPart, createMimeBodyPart, getBodyPart, getBodyPart, getCount, getPreamble, isComplete, parse, setPreamble, setSubType, updateHeaders, writeTo |
Methods inherited from class javax.mail.Multipart |
addBodyPart, addBodyPart, getContentType, getParent, removeBodyPart, removeBodyPart, setMultipartDataSource, setParent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MimeMultipartReport
public MimeMultipartReport()
- Default constructor
MimeMultipartReport
public MimeMultipartReport(java.lang.String subtype)
- Constructs a MimeMultipartReport of the given subtype.
- Parameters:
subtype
-
MimeMultipartReport
public MimeMultipartReport(javax.activation.DataSource aDataSource)
throws javax.mail.MessagingException
- Constructs a MimeMultipartReport from the passed DataSource.
- Parameters:
aDataSource
-
- Throws:
javax.mail.MessagingException
setReportType
public void setReportType(java.lang.String reportType)
throws javax.mail.MessagingException
- Sets the type of report.
- Parameters:
reportType
-
- Throws:
javax.mail.MessagingException
setContentType
protected void setContentType(javax.mail.internet.ContentType aContentType)
- Sets the content type
- Parameters:
aContentType
-
Copyright © 2002-2007 The Apache Software Foundation. All Rights Reserved.