org.apache.james.mime4j.samples.dom
Class MultipartMessage

java.lang.Object
  extended by org.apache.james.mime4j.samples.dom.MultipartMessage

public class MultipartMessage
extends java.lang.Object

Creates a multipart/mixed message that consists of a text/plain and an image/png part. The image is created on the fly; a similar technique can be used to create PDF or XML attachments, for example.


Constructor Summary
MultipartMessage()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultipartMessage

public MultipartMessage()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.