JavaScript is disabled on your browser.
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method
javax.mail

Interface MultipartDataSource

  • All Superinterfaces:
    DataSource


    public interface MultipartDataSource
    extends DataSource 
    MultipartDataSource is a DataSource that contains body parts. This allows "mail aware" DataContentHandlers to be implemented more efficiently by being aware of such DataSources and using the appropriate methods to access BodyParts.

    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.

    Author:
    John Mani
    See Also:
    DataSource
    • Method Detail

      • getCount

        int getCount()
        Return the number of enclosed BodyPart objects.
        Returns:
        number of parts
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method

Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.

AltStyle によって変換されたページ (->オリジナル) /