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