public class IMAPMultipartDataSource extends MimePartDataSource implements MultipartDataSource
Modifier and Type | Method and Description |
---|---|
BodyPart |
getBodyPart(int index)
Get the specified Part.
|
int |
getCount()
Return the number of enclosed BodyPart objects.
|
getContentType, getInputStream, getMessageContext, getName, getOutputStream
public int getCount()
MultipartDataSource
getCount
in interface MultipartDataSource
public BodyPart getBodyPart(int index) throws MessagingException
MultipartDataSource
getBodyPart
in interface MultipartDataSource
index
- the index of the desired PartMessagingException
- for other failuresCopyright © 2010 - 2020 Adobe. All Rights Reserved