Bug 47922

Summary: [PATCH] Added example HSMF application that converts a .msg file to text and extracts attachments
Product: POI Reporter: Bruno Girin <brunogirin>
Component: HSMFAssignee: POI Developers List <dev>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: P2    
Version: 3.6-dev   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Bug Depends on: 47903    
Bug Blocks:    
Attachments: The new file that constitutes this patch, packaged from the top POI directory

Description Bruno Girin 2009-10-01 00:21:20 UTC
Created attachment 24327 [details]
The new file that constitutes this patch, packaged from the top POI directory

Added a new example package and class for HSMF:
org.apache.poi.hsmf.examples.Msg2txt

This example class is a command line utility that takes a number of .msg files
as arguments and, for each foo.msg, does the following:
- creates foo.txt by extracting out of foo.msg the display versions of a number
of standard fields (To, CC, etc) as well as the body's text;
- if foo.msg contains any attachment, creates a foo-att directory and stores
the attachments in that directory using the names specified in foo.msg
Comment 1 Yegor Kozlov 2009-10-04 03:26:19 UTC
Applied in r821500

Thanks,
Yegor