org.apache.james.util.mail
Class MimeMultipartReport

java.lang.Object
  extended by javax.mail.Multipart
      extended by javax.mail.internet.MimeMultipart
          extended by 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.


Field Summary
 
Fields inherited from class javax.mail.internet.MimeMultipart
ds, parsed
 
Fields inherited from class javax.mail.Multipart
contentType, parent, parts
 
Constructor Summary
MimeMultipartReport()
          Default constructor
MimeMultipartReport(javax.activation.DataSource aDataSource)
          Constructs a MimeMultipartReport from the passed DataSource.
MimeMultipartReport(java.lang.String subtype)
          Constructs a MimeMultipartReport of the given subtype.
 
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
 

Constructor Detail

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
Method Detail

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.