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, getOutputStreampublic int getCount()
MultipartDataSourcegetCount in interface MultipartDataSourcepublic BodyPart getBodyPart(int index) throws MessagingException
MultipartDataSourcegetBodyPart in interface MultipartDataSourceindex - the index of the desired PartMessagingException - for other failuresCopyright © 2010 - 2023 Adobe. All Rights Reserved