net.freeutils.tnef
public class TNEF extends Object
TNEF
class provides high-level utility methods to
access TNEF streams and extract their contents.
Note: This class is experimental and is intended to show possible uses
of the Java TNEF package.
Since: 2003-04-25
Method Summary | |
---|---|
static int | extractContent(TNEFInputStream in, String outputdir)
Extracts the content from the given TNEFInputStream, saving attachments
to the given output directory.
|
static int | extractContent(Message message, String outputdir)
Extracts the content from the given TNEF Message, saving attachments
to the given output directory.
|
static void | main(String[] args)
Main entry point for command-line utility.
|
Parameters: in the TNEFInputStream containing the content outputdir the directory in which attachments should be saved
Returns: the number of attachments that were saved
Throws: IOException if an I/O error occurs
Parameters: message the Message containing the content outputdir the directory in which attachments should be saved
Returns: the number of attachments that were saved
Throws: IOException if an I/O error occurs
Parameters: args the command-line arguments