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
-
ccField
-
-
convertedParts
-
-
fromField
-
-
theDate
-
-
theID
-
-
theParts
-
-
theSubject
-
-
toField
-
-
MediaMessage()
-
-
MediaMessage(Message)
-
-
MediaMessage(String)
-
-
addContentConversion(int, ContentObject)
-
-
getAllConversions(int)
-
-
getBodyContent()
-
-
getBodyType()
-
-
getCC()
-
-
getContentConversion(int, int)
-
-
getDate()
-
-
getFrom()
-
-
getMessageID()
-
-
getNumberParts()
-
-
getPartContent(int)
- Get the nth part where the body is also part = 0.
-
getSubject()
-
-
getTo()
-
-
main(String[])
-
-
PrettyPrint(PrintStream)
-
-
readFromConfigFile(InputStream, String)
-
-
readFromConfigFile(String, String)
- The contentDirName should be the directory in which the content files are
saved.
-
setMessageID(MediaRef)
-
fromField
protected Address fromField
toField
protected Address toField[]
ccField
protected Address ccField[]
theSubject
protected String theSubject
theDate
protected Date theDate
theParts
protected ContentObject theParts[]
convertedParts
protected Hashtable convertedParts[]
theID
protected MediaRef theID
MediaMessage
public MediaMessage(String filename) throws IOException
MediaMessage
public MediaMessage()
MediaMessage
public MediaMessage(Message ninjamailMessage) throws IOException
getBodyType
public String getBodyType()
getBodyContent
public ContentObject getBodyContent()
getNumberParts
public int getNumberParts()
getPartContent
public ContentObject getPartContent(int nth)
- Get the nth part where the body is also part = 0.
getSubject
public String getSubject()
getFrom
public Address getFrom()
getTo
public Address[] getTo()
getCC
public Address[] getCC()
getDate
public Date getDate()
getMessageID
public MediaRef getMessageID()
setMessageID
public void setMessageID(MediaRef ref)
addContentConversion
public void addContentConversion(int part,
ContentObject converted)
getContentConversion
public ContentObject getContentConversion(int part,
int type)
getAllConversions
public Enumeration getAllConversions(int part)
PrettyPrint
public void PrettyPrint(PrintStream out)
readFromConfigFile
public void readFromConfigFile(InputStream in,
String contentDirectory) throws IOException
readFromConfigFile
public static MediaMessage readFromConfigFile(String file,
String contentDirName) throws IOException
- The contentDirName should be the directory in which the content files are
saved.
main
public static void main(String argv[])
All Packages Class Hierarchy This Package Previous Next Index