Module com.sun.mail

Class IMAPMultipartDataSource

  • All Implemented Interfaces:
    jakarta.activation.DataSource, jakarta.mail.MessageAware, jakarta.mail.MultipartDataSource

    public class IMAPMultipartDataSource
    extends jakarta.mail.internet.MimePartDataSource
    implements jakarta.mail.MultipartDataSource
    This class
    • Field Summary

      • Fields inherited from class jakarta.mail.internet.MimePartDataSource

        part
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      jakarta.mail.BodyPart getBodyPart​(int index)  
      int getCount()  
      • Methods inherited from class jakarta.mail.internet.MimePartDataSource

        getContentType, getInputStream, getMessageContext, getName, getOutputStream
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface jakarta.activation.DataSource

        getContentType, getInputStream, getName, getOutputStream
    • Constructor Detail

      • IMAPMultipartDataSource

        protected IMAPMultipartDataSource​(jakarta.mail.internet.MimePart part,
                                          BODYSTRUCTURE[] bs,
                                          java.lang.String sectionId,
                                          IMAPMessage msg)
    • Method Detail

      • getCount

        public int getCount()
        Specified by:
        getCount in interface jakarta.mail.MultipartDataSource
      • getBodyPart

        public jakarta.mail.BodyPart getBodyPart​(int index)
                                          throws jakarta.mail.MessagingException
        Specified by:
        getBodyPart in interface jakarta.mail.MultipartDataSource
        Throws:
        jakarta.mail.MessagingException