public class

IMAPMultipartDataSource

extends MimePartDataSource
implements MultipartDataSource
java.lang.Object
   ↳ com.google.code.javax.mail.internet.MimePartDataSource
     ↳ com.google.code.com.sun.mail.imap.IMAPMultipartDataSource

Class Overview

This class

Summary

Fields
private Vector parts
[Expand]
Inherited Fields
From class com.google.code.javax.mail.internet.MimePartDataSource
Protected Constructors
IMAPMultipartDataSource(MimePart part, BODYSTRUCTURE[] bs, String sectionId, IMAPMessage msg)
Public Methods
BodyPart getBodyPart(int index)
Get the specified Part.
int getCount()
Return the number of enclosed BodyPart objects.
[Expand]
Inherited Methods
From class com.google.code.javax.mail.internet.MimePartDataSource
From class java.lang.Object
From interface com.google.code.javax.activation.DataSource
From interface com.google.code.javax.mail.MessageAware
From interface com.google.code.javax.mail.MultipartDataSource

Fields

private Vector parts

Protected Constructors

protected IMAPMultipartDataSource (MimePart part, BODYSTRUCTURE[] bs, String sectionId, IMAPMessage msg)

Parameters
part
bs
sectionId
msg

Public Methods

public BodyPart getBodyPart (int index)

Get the specified Part. Parts are numbered starting at 0.

Parameters
index The index of the desired Part
Returns
  • the Part

public int getCount ()

Return the number of enclosed BodyPart objects.

Returns
  • number of parts