public interface MultipartDataSource extends DataSource
DataSource| Modifier and Type | Method and Description |
|---|---|
BodyPart |
getBodyPart(int index)
Returns the specified body part.
|
int |
getCount()
Returns the number of body parts.
|
getContentType, getInputStream, getName, getOutputStreamint getCount()
BodyPart getBodyPart(int index) throws MessagingException
index - the index of the desired body partIndexOutOfBoundsException - if the given index is out of rangeMessagingException© Copyright 2003, 2004 The Free Software Foundation, All rights reserved