|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jniwrapper.win32.mapi.MailContact
This class represents mail contacts such as senders and recipients.
| Nested Class Summary | |
static class |
MailContact.Type
This class specifies all possible roles of the mail contact such as the sender, direct recipient, carbon copy (CC) recipient or blind carbon copy (BCC) recipient. |
| Constructor Summary | |
MailContact(MailContact.Type contactType)
Creates a new instance of the MailContact class. |
|
MailContact(MailContact.Type contactType,
java.lang.String address)
Creates a new instance of the MailContact class by its type and address. |
|
| Method Summary | |
java.lang.String |
getAddress()
Returns the address of the contact. |
java.lang.String |
getName()
Returns the name of the contact. |
MailContact.Type |
getType()
Returns the type of the contact. |
void |
setAddress(java.lang.String address)
Sets the address of the contact. |
void |
setName(java.lang.String name)
Sets the name of the contact. |
void |
setType(MailContact.Type type)
Specifies the type of the contact. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MailContact(MailContact.Type contactType)
contactType - Defines the type of the mail contact such as the sender,
direct recipient, carbon copy (CC) recipient or blind carbon copy (BCC) recipient.
public MailContact(MailContact.Type contactType,
java.lang.String address)
contactType - Defines the type of the mail contact such as the sender,
direct recipient, carbon copy (CC) recipient or blind carbon copy (BCC) recipient.address - Is the e-mail address or the inbound name. The address format is [address type][e-mail address].
For example, SMTP:M@X.COM.| Method Detail |
public java.lang.String getName()
public void setName(java.lang.String name)
name - Is the e-mail adress or the inbound name.public java.lang.String getAddress()
public void setAddress(java.lang.String address)
address - Is the e-mail address. The address format is [address type][e-mail address].
For example, SMTP:M@X.COM.public MailContact.Type getType()
MailContact.Typepublic void setType(MailContact.Type type)
type - Is one of the MailContact.Type constants.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||