|
JDIC API V2006 Release 0308 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jdesktop.jdic.desktop.Message
public class Message
This class represents a message structure.
It consists of several necessary message fields.
Desktop.mail(Message)
Constructor Summary | |
---|---|
Message()
Constructor of a Message object. |
Method Summary | |
---|---|
java.util.Iterator |
getAttachments()
Gets an iterator of the message "Attachment" file list. |
java.util.Iterator |
getBccAddrs()
Gets an iterator of the message "Bcc" address list. |
java.lang.String |
getBody()
Gets the "Body" field of the message. |
java.util.Iterator |
getCcAddrs()
Gets an iterator of the message "Cc" address list. |
java.lang.String |
getSubject()
Gets the "Subject" field of the message. |
java.util.Iterator |
getToAddrs()
Gets an iterator of the message "To" address list. |
void |
setAttachments(java.util.List attachList)
Sets the message "Attachments" field. |
void |
setBccAddrs(java.util.List abccList)
Sets the message "Bcc" address list. |
void |
setBody(java.lang.String abody)
Sets the message "Body" field. |
void |
setCcAddrs(java.util.List accList)
Sets the message "Cc" address list. |
void |
setSubject(java.lang.String asubject)
Sets the message "Subject" field. |
void |
setToAddrs(java.util.List atoList)
Sets the message "To" address list. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Message()
Message
object.
Method Detail |
---|
public java.util.Iterator getToAddrs()
Iterator
object of the message "To" address list.public void setToAddrs(java.util.List atoList)
atoList
- an email address list for the "To" field.public java.util.Iterator getCcAddrs()
Iterator
object of the message "Cc" address list.public void setCcAddrs(java.util.List accList)
accList
- an email address list for the "Cc" field.public java.util.Iterator getBccAddrs()
Iterator
object of the message "Bcc" address list.public void setBccAddrs(java.util.List abccList)
abccList
- an email address list for the "Bcc" field.public java.lang.String getSubject()
public void setSubject(java.lang.String asubject)
asubject
- a string for the "Subject" field.public java.lang.String getBody()
public void setBody(java.lang.String abody)
abody
- a string for the "Body" field.public java.util.Iterator getAttachments()
Iterator
object of the message "Attachment" file
list.public void setAttachments(java.util.List attachList) throws java.io.IOException
attachList
- the given attachment list, whose elements are the
abosolute paths of files to be attached.
java.io.IOException
- if any of the attached files is not readable.
|
JDIC API V2006 Release 0308 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, working code examples, license terms and bug report information.
Copyright (c) 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.