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 © 1996-2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.