|
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.compoze.domino.Recipient
This class represents a recipient of a memo. Recipients are either constructed with a display name and address, or with an address entry.
| Constructor Summary | |
Recipient(RecipientType type,
java.lang.String sAddress)
Constructor. |
|
| Method Summary | |
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one. |
java.lang.String |
getAddress()
Gets the recipient address. |
static Recipient[] |
getRecipients(Recipient[] recipients,
RecipientType type)
Gets the recipients from the array by the specified type. |
RecipientType |
getRecipientType()
Gets the recipient type. |
static Recipient[] |
parse(java.lang.String sRecipients,
RecipientType type)
Parses semicolon (";") delimited string of recipients into an array of Recipient objects. |
static Recipient[] |
parse(java.lang.String sRecipients,
RecipientType type,
java.lang.String sDelimiter)
Parses string of recipients into an array of Recipient objects. |
java.lang.String |
toString()
Returns the string representation of this object. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Recipient(RecipientType type,
java.lang.String sAddress)
type - the recipient type (must not be null)sAddress - the recipient address (must not be null)| Method Detail |
public RecipientType getRecipientType()
public java.lang.String getAddress()
public static Recipient[] getRecipients(Recipient[] recipients,
RecipientType type)
recipients - the recipients to readtype - the type of recipients to returnpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the reference object with which to comparetrue if this object is the same as the obj argument; false otherwisepublic java.lang.String toString()
toString in class java.lang.Object
public static Recipient[] parse(java.lang.String sRecipients,
RecipientType type)
throws javax.mail.internet.AddressException
Recipient objects.sRecipients - string of recipients to parsetype - the type of recipients (may not be null)Recipient objects or an empty arrayjavax.mail.internet.AddressException - if parse fails
public static Recipient[] parse(java.lang.String sRecipients,
RecipientType type,
java.lang.String sDelimiter)
throws javax.mail.internet.AddressException
Recipient objects.sRecipients - string of recipients to parsetype - the type of recipients (may not be null)sDelimiter - the delimiter (may not be null)Recipient objects or an empty arrayjavax.mail.internet.AddressException - if parse fails
|
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||