com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class InlineAttachmentExtractor



  • public class InlineAttachmentExtractor
    extends Object

    Provides ability to extract files from MSO packages. Can be used to process "oledata.mso" and similar files typically attached to messages created using Outlook.

    • Constructor Detail

      • InlineAttachmentExtractor

        public InlineAttachmentExtractor()
    • Method Detail

      • enumerateMsoPackage

        public static com.aspose.ms.System.Collections.Generic.IGenericDictionary<String,byte[]> enumerateMsoPackage(InputStream stream)

        Enumerates the MSO package and returns a dictionary containing files data. The key is file identifier and value contains actual data.Files are usually referenced in message body using the identifiers provided.

        Parameters:
        stream - The stream to parse.


        While in evaluation mode only one file is extracted from given MSO stream.
        Returns:
        Dictionary with files data.
        Throws:
        com.aspose.ms.System.ArgumentNullException - If stream is null.
        com.aspose.ms.System.IO.InvalidDataException - If given stream has data in incorrect format.