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 and Description |
---|
InlineAttachmentExtractor() |
Modifier and Type | Method and Description |
---|---|
static com.aspose.ms.System.Collections.Generic.IGenericDictionary<String,byte[]> |
enumerateMsoPackage(InputStream stream)
Enumerates the MSO package and returns a dictionary containing files data.
|
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.
stream
- The stream to parse.
com.aspose.ms.System.ArgumentNullException
- If stream
is null.com.aspose.ms.System.IO.InvalidDataException
- If given stream
has data in incorrect format.