|
Oracle | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.compoze.domino.RecipientInfo
public class RecipientInfo
This class stores information about a single recipient.
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this recipient. |
java.lang.String |
getAddress()
Gets the recipient address. |
java.lang.String |
getName()
Gets the display name of the address entry. |
static RecipientInfo[] |
getRecipientInfoArray(RecipientInfo[] recipientInfos,
RecipientType type)
Gets the recipient info objects from the array by the specified type. |
static java.lang.String |
getRecipientInfoNameString(RecipientInfo[] recipientInfos,
java.lang.String sDelim)
Gets the recipient info string from the specified info array and delimited by the specified delimiter. |
static java.lang.String |
getRecipientInfoString(RecipientInfo[] recipientInfos)
Gets the recipient info string from the specified info array and delimited by a comma-space (", "). |
static java.lang.String |
getRecipientInfoString(RecipientInfo[] recipientInfos,
java.lang.String sDelim)
Gets the recipient info string from the specified info array and delimited by the specified delimiter. |
RecipientType |
getRecipientType()
Gets the recipient type. |
static void |
main(java.lang.String[] args)
|
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 |
Method Detail |
---|
public RecipientType getRecipientType()
public java.lang.String getAddress()
public java.lang.String getName()
public static java.lang.String getRecipientInfoString(RecipientInfo[] recipientInfos) throws DominoException
recipientInfos
- the recipient info array to read
null
or empty
DominoException
public static java.lang.String getRecipientInfoString(RecipientInfo[] recipientInfos, java.lang.String sDelim)
recipientInfos
- the recipient info array to readsDelim
- the delimiter
null
or emptypublic static java.lang.String getRecipientInfoNameString(RecipientInfo[] recipientInfos, java.lang.String sDelim)
recipientInfos
- the recipient info array to readsDelim
- the delimiter
null
or emptypublic static RecipientInfo[] getRecipientInfoArray(RecipientInfo[] recipientInfos, RecipientType type)
recipientInfos
- the recipient info array to readtype
- the type of recipients to return
public boolean equals(java.lang.Object obj)
String
object if the string equals the address or a RecipientInfo
object if the address matches (RecipientInfo)obj.getAddress()
and the type matches (RecipientInfo)obj.getRecipientType()
.
If a String
object is given, a common name comparison is
done if only the recipient common name is known.
equals
in class java.lang.Object
obj
- the reference object with which to compare
true
if this object is the same as the obj argument; false
otherwisepublic java.lang.String toString()
toString
in class java.lang.Object
public static void main(java.lang.String[] args)
|
Oracle | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |