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, getOutputStream
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getContentType, getInputStream, getName, getOutputStream
protected IMAPMultipartDataSource(MimePart part, BODYSTRUCTURE[] bs, String sectionId, IMAPMessage msg)
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 © 2017 JBoss by Red Hat. All rights reserved.