|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.objectxp.msg.Recipient
This class represents a message recipient. The recipient has a specific type and an address.
SmtpService| Field Summary | |
static int |
RT_BCC
Recipient type "BCC:" |
static int |
RT_CC
Recipient type "CC:" |
static int |
RT_TO
Recipient type "TO:" |
| Constructor Summary | |
Recipient(java.lang.String address)
Create a new Recipient. |
|
Recipient(java.lang.String address,
int type)
Create a new Recipient. |
|
| Method Summary | |
java.lang.String |
getAddress()
Get the recipients address. |
int |
getType()
Get the recipient type. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int RT_TO
public static final int RT_CC
public static final int RT_BCC
| Constructor Detail |
public Recipient(java.lang.String address,
int type)
address - the recipient's addresstype - recipient type (one of the RT_ constants).public Recipient(java.lang.String address)
address - the recipient's address| Method Detail |
public java.lang.String getAddress()
public int getType()
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||