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 MimeMultipart
Class MimeMultipartReport
implements JavaMail support
for a MIME type of MimeMultipart with a subtype 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MimeMultipartReport
public MimeMultipartReport()
- Default constructor
MimeMultipartReport
public MimeMultipartReport(String subtype)
- Constructs a MimeMultipartReport of the given subtype.
- Parameters:
subtype
-
MimeMultipartReport
public MimeMultipartReport(DataSource aDataSource)
throws MessagingException
- Constructs a MimeMultipartReport from the passed DataSource.
- Parameters:
aDataSource
-
- Throws:
MessagingException
setReportType
public void setReportType(String reportType)
throws MessagingException
- Sets the type of report.
- Parameters:
reportType
-
- Throws:
MessagingException
setContentType
protected void setContentType(ContentType aContentType)
- Sets the content type
- Parameters:
aContentType
-
"Copyright © 1999-2006 Apache Jakarta Project. All Rights Reserved."