All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class iceberg.mediamanager.MediaMessage

java.lang.Object
   |
   +----iceberg.mediamanager.MediaMessage

public class MediaMessage
extends Object
implements Serializable

Variable Index

 o ccField
 o convertedParts
 o fromField
 o theDate
 o theID
 o theParts
 o theSubject
 o toField

Constructor Index

 o MediaMessage()
 o MediaMessage(Message)
 o MediaMessage(String)

Method Index

 o addContentConversion(int, ContentObject)
 o getAllConversions(int)
 o getBodyContent()
 o getBodyType()
 o getCC()
 o getContentConversion(int, int)
 o getDate()
 o getFrom()
 o getMessageID()
 o getNumberParts()
 o getPartContent(int)
Get the nth part where the body is also part = 0.
 o getSubject()
 o getTo()
 o main(String[])
 o PrettyPrint(PrintStream)
 o readFromConfigFile(InputStream, String)
 o readFromConfigFile(String, String)
The contentDirName should be the directory in which the content files are saved.
 o setMessageID(MediaRef)

Variables

 o fromField
 protected Address fromField
 o toField
 protected Address toField[]
 o ccField
 protected Address ccField[]
 o theSubject
 protected String theSubject
 o theDate
 protected Date theDate
 o theParts
 protected ContentObject theParts[]
 o convertedParts
 protected Hashtable convertedParts[]
 o theID
 protected MediaRef theID

Constructors

 o MediaMessage
 public MediaMessage(String filename) throws IOException
 o MediaMessage
 public MediaMessage()
 o MediaMessage
 public MediaMessage(Message ninjamailMessage) throws IOException

Methods

 o getBodyType
 public String getBodyType()
 o getBodyContent
 public ContentObject getBodyContent()
 o getNumberParts
 public int getNumberParts()
 o getPartContent
 public ContentObject getPartContent(int nth)
Get the nth part where the body is also part = 0.

 o getSubject
 public String getSubject()
 o getFrom
 public Address getFrom()
 o getTo
 public Address[] getTo()
 o getCC
 public Address[] getCC()
 o getDate
 public Date getDate()
 o getMessageID
 public MediaRef getMessageID()
 o setMessageID
 public void setMessageID(MediaRef ref)
 o addContentConversion
 public void addContentConversion(int part,
                                  ContentObject converted)
 o getContentConversion
 public ContentObject getContentConversion(int part,
                                           int type)
 o getAllConversions
 public Enumeration getAllConversions(int part)
 o PrettyPrint
 public void PrettyPrint(PrintStream out)
 o readFromConfigFile
 public void readFromConfigFile(InputStream in,
                                String contentDirectory) throws IOException
 o readFromConfigFile
 public static MediaMessage readFromConfigFile(String file,
                                               String contentDirName) throws IOException
The contentDirName should be the directory in which the content files are saved.

 o main
 public static void main(String argv[])

All Packages  Class Hierarchy  This Package  Previous  Next  Index