org.apache.geronimo.javamail.store.imap
Class IMAPMultipartDataSource

java.lang.Object
  extended by javax.mail.internet.MimePartDataSource
      extended by org.apache.geronimo.javamail.store.imap.IMAPMultipartDataSource
All Implemented Interfaces:
DataSource, MessageAware, MultipartDataSource

public class IMAPMultipartDataSource
extends MimePartDataSource
implements MultipartDataSource


Field Summary
protected  BodyPart[] parts
           
 
Fields inherited from class javax.mail.internet.MimePartDataSource
part
 
Method Summary
 BodyPart getBodyPart(int index)
           
 int getCount()
           
 
Methods inherited from class javax.mail.internet.MimePartDataSource
getContentType, getInputStream, getMessageContext, getName, getOutputStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.activation.DataSource
getContentType, getInputStream, getName, getOutputStream
 

Field Detail

parts

protected BodyPart[] parts
Method Detail

getCount

public int getCount()
Specified by:
getCount in interface MultipartDataSource

getBodyPart

public BodyPart getBodyPart(int index)
                     throws MessagingException
Specified by:
getBodyPart in interface MultipartDataSource
Throws:
MessagingException


Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.