public class IMAPMultipartDataSource extends MimePartDataSource implements MultipartDataSource
part| Modifier | Constructor and Description |
|---|---|
protected |
IMAPMultipartDataSource(MimePart part,
BODYSTRUCTURE[] bs,
String sectionId,
IMAPMessage msg) |
| 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, getOutputStreamclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContentType, getInputStream, getName, getOutputStreamprotected IMAPMultipartDataSource(MimePart part, BODYSTRUCTURE[] bs, String sectionId, IMAPMessage msg)
public 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 © 2017 JBoss by Red Hat. All rights reserved.