Class 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

        allowEmpty, complete, ds, ignoreExistingBoundaryParameter, ignoreMissingBoundaryParameter, ignoreMissingEndBoundary, parsed, preamble
      • Fields inherited from class javax.mail.Multipart

        contentType, parent, parts
    • Constructor Summary

      Constructors 
      Constructor Description
      MimeMultipartReport()
      Default constructor
      MimeMultipartReport​(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 void setContentType​(javax.mail.internet.ContentType aContentType)
      Sets the content type
      void setReportType​(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
      • Methods inherited from class javax.mail.Multipart

        getContentType, getParent, setMultipartDataSource, setParent
    • 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.MessagingException
        Constructs 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 -