javax.mail
Interface MultipartDataSource
- DataSource
- IMAPMultipartDataSource
public interface MultipartDataSource
extends DataSource
A data source that contains body parts.
- Chris Burdess
DataSource
getBodyPart
public BodyPart getBodyPart(int index)
throws MessagingException
Returns the specified body part.
Body parts are numbered starting at 0.
index
- the index of the desired body part
getCount
public int getCount()
Returns the number of body parts.
© Copyright 2003, 2004
The Free Software Foundation, All rights reserved