Package org.apache.mailet.base.mail
Class MimeMultipartReport
- java.lang.Object
-
- javax.mail.Multipart
-
- javax.mail.internet.MimeMultipart
-
- org.apache.mailet.base.mail.MimeMultipartReport
-
public class MimeMultipartReport extends javax.mail.internet.MimeMultipartClassMimeMultipartReportimplements JavaMail support for a MIME type of MimeMultipart with a subtype of report.
-
-
Constructor Summary
Constructors Constructor Description MimeMultipartReport()Default constructorMimeMultipartReport(String subtype)Constructs a MimeMultipartReport of the given subtype.MimeMultipartReport(javax.activation.DataSource aDataSource)Constructs a MimeMultipartReport from the passed DataSource.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidsetContentType(javax.mail.internet.ContentType aContentType)Sets the content typevoidsetReportType(String reportType)Sets the type of report.-
Methods inherited from class javax.mail.internet.MimeMultipart
addBodyPart, addBodyPart, createInternetHeaders, createMimeBodyPart, createMimeBodyPart, getBodyPart, getBodyPart, getCount, getPreamble, initializeProperties, isComplete, parse, removeBodyPart, removeBodyPart, setPreamble, setSubType, updateHeaders, writeTo
-
-
-
-
Constructor Detail
-
MimeMultipartReport
public MimeMultipartReport()
Default constructor
-
MimeMultipartReport
public MimeMultipartReport(String subtype)
Constructs a MimeMultipartReport of the given subtype.- Parameters:
subtype-
-
MimeMultipartReport
public MimeMultipartReport(javax.activation.DataSource aDataSource) throws javax.mail.MessagingExceptionConstructs a MimeMultipartReport from the passed DataSource.- Parameters:
aDataSource-- Throws:
javax.mail.MessagingException
-
-
Method Detail
-
setReportType
public void setReportType(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-
-
-