wtanaka.praya.gale
Class PrivateRecipient
java.lang.Object
|
+--wtanaka.praya.Recipient
|
+--wtanaka.praya.ResolvedRecipient
|
+--wtanaka.praya.gale.PrivateRecipient
- All Implemented Interfaces:
- java.io.Serializable
- public class PrivateRecipient
- extends ResolvedRecipient
An old world order private recipient.
Return to
or the Praya Homepage
- Version:
- $Name: $ $Date: 2001/12/06 11:08:05 $
- Author:
- $Author: wtanaka $
- See Also:
- Serialized Form
|
Field Summary |
private java.util.Hashtable |
fields
|
private static java.lang.String |
ID_LABEL
|
private java.lang.String[] |
m_ids
|
|
Method Summary |
private static java.lang.String |
arrayToColonSeparated(java.lang.String[] array)
|
private static java.lang.String[] |
colonSeparatedToArray(java.lang.String colonSep)
|
java.lang.String |
getDescription()
A short string which describes where something addressed to this
recipient will go, assuming that the caller is aware of the
context of the recipient. |
java.util.Hashtable |
getFieldNames()
Returns an table of names->field contents of fields for insertion into
a field enabled editor. |
java.lang.String |
getFullDescription()
A string which describes where something addressed to this
recipient will go. |
void |
sendReply(java.lang.Object o)
Sends reply to this recipient (as described with getDescription()). |
Recipient |
withNewFields(java.util.Hashtable newFields)
Returns a new recipient with the given fields. |
| Methods inherited from class java.lang.Object |
, clone, finalize, getClass, notify, notifyAll, registerNatives, toString, wait, wait, wait |
m_ids
private java.lang.String[] m_ids
fields
private java.util.Hashtable fields
ID_LABEL
private static final java.lang.String ID_LABEL
PrivateRecipient
public PrivateRecipient(Protocol galeClient,
java.lang.String[] ids)
colonSeparatedToArray
private static java.lang.String[] colonSeparatedToArray(java.lang.String colonSep)
arrayToColonSeparated
private static java.lang.String arrayToColonSeparated(java.lang.String[] array)
getDescription
public java.lang.String getDescription()
- Description copied from class:
Recipient
- A short string which describes where something addressed to this
recipient will go, assuming that the caller is aware of the
context of the recipient. For example, this might reutrn
"wtanaka@mili.eu.org" or "#dred"
- Overrides:
getDescription in class Recipient
getFullDescription
public java.lang.String getFullDescription()
- Description copied from class:
Recipient
- A string which describes where something addressed to this
recipient will go. For example, this might reutrn "email to
wtanaka@mili.eu.org" or "irc #dred"
- Overrides:
getFullDescription in class Recipient
sendReply
public void sendReply(java.lang.Object o)
throws NotSentException
- Description copied from class:
ResolvedRecipient
- Sends reply to this recipient (as described with getDescription()).
- Overrides:
sendReply in class ResolvedRecipient
- Throws:
NotSentException - if the message is not sent
getFieldNames
public java.util.Hashtable getFieldNames()
- Description copied from class:
Recipient
- Returns an table of names->field contents of fields for insertion into
a field enabled editor. For instance, an email might have: "From",
"To->wtanaka@mili.eu.org", "Cc", "Bcc", etc. This is a map from
string to FilledField
- Overrides:
getFieldNames in class Recipient
withNewFields
public Recipient withNewFields(java.util.Hashtable newFields)
- Description copied from class:
Recipient
- Returns a new recipient with the given fields.
- Overrides:
withNewFields in class Recipient
- Following copied from class:
wtanaka.praya.Recipient
- Parameters:
newFields - this is the map from string to FilledField