Interface MimePartProvider

    • Method Detail

      • getDataHandler

        DataHandler getDataHandler​(String contentID)
                            throws IOException
        Get the DataHandler for the MIME part identified by a given content ID.
        Parameters:
        contentID - a content ID referenced in an xop:Include element
        Returns:
        the DataHandler for the MIME part identified by the content ID; may not be null
        Throws:
        IllegalArgumentException - if the MIME part was not found
        IOException - if an error occurred while loading the part