public class Msg2txt extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
Processes the list of arguments as a list of names of Outlook MSG files.
|
void |
processAttachment(AttachmentChunks attachment,
File dir)
Processes a single attachment: reads it from the Outlook MSG file and
writes it to disk as an individual file.
|
void |
processMessage()
Processes the message.
|
public Msg2txt(String fileName) throws IOException
IOExceptionpublic void processMessage()
throws IOException
IOException - if an exception occurs while writing the message outpublic void processAttachment(AttachmentChunks attachment, File dir) throws IOException
attachment - the chunk group describing the attachmentdir - the directory in which to write the attachment fileIOException - when any of the file operations failspublic static void main(String[] args)
args - the list of MSG files to process