public interface MultipartDataSource extends DataSource
DataSourcethat contains body parts. This allows "mail aware"
DataContentHandlersto be implemented more efficiently by being aware of such
DataSourcesand using the appropriate methods to access
Note that the data of a MultipartDataSource is also available as an input stream.
This interface will typically be implemented by providers that preparse multipart bodies, for example an IMAP provider.
|Modifier and Type||Method and Description|
Get the specified Part.
Return the number of enclosed BodyPart objects.
BodyPart getBodyPart(int index) throws MessagingException
Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.