Package com.sun.mail.imap
Class IMAPMultipartDataSource
java.lang.Object
jakarta.mail.internet.MimePartDataSource
com.sun.mail.imap.IMAPMultipartDataSource
- All Implemented Interfaces:
DataSource,MessageAware,MultipartDataSource
This class
- Author:
- John Mani
-
Field Summary
Fields inherited from class jakarta.mail.internet.MimePartDataSource
part -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedIMAPMultipartDataSource(MimePart part, BODYSTRUCTURE[] bs, String sectionId, IMAPMessage msg) -
Method Summary
Methods inherited from class jakarta.mail.internet.MimePartDataSource
getContentType, getInputStream, getMessageContext, getName, getOutputStreamMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jakarta.activation.DataSource
getContentType, getInputStream, getName, getOutputStream
-
Constructor Details
-
IMAPMultipartDataSource
protected IMAPMultipartDataSource(MimePart part, BODYSTRUCTURE[] bs, String sectionId, IMAPMessage msg)
-
-
Method Details
-
getCount
public int getCount()- Specified by:
getCountin interfaceMultipartDataSource
-
getBodyPart
- Specified by:
getBodyPartin interfaceMultipartDataSource- Throws:
MessagingException
-