public final class HMEFContentsExtractor
extends java.lang.Object
Constructor and Description |
---|
HMEFContentsExtractor(java.io.File filename) |
HMEFContentsExtractor(HMEFMessage message) |
Modifier and Type | Method and Description |
---|---|
void |
extractAttachments(java.io.File dir)
Extracts all the message attachments to the supplied directory
|
void |
extractMessageBody(java.io.File dest)
Extracts the RTF message body to the supplied file
|
void |
extractMessageBody(java.io.OutputStream out)
Extracts the RTF message body to the supplied stream.
|
protected MAPIAttribute |
getBodyAttribute() |
static void |
main(java.lang.String[] args)
Usage: HMEFContentsExtractor <filename> <output dir>
|
public HMEFContentsExtractor(java.io.File filename) throws java.io.IOException
java.io.IOException
public HMEFContentsExtractor(HMEFMessage message)
public static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException
public void extractMessageBody(java.io.File dest) throws java.io.IOException
java.io.IOException
protected MAPIAttribute getBodyAttribute()
public void extractMessageBody(java.io.OutputStream out) throws java.io.IOException
java.io.IOException
public void extractAttachments(java.io.File dir) throws java.io.IOException
java.io.IOException
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.