public class GenericRecipient extends Object implements RemotePartContainingRecipient
| Constructor and Description |
|---|
GenericRecipient(Mailbox mailbox) |
| Modifier and Type | Method and Description |
|---|---|
Mailbox |
getMailbox() |
boolean |
isDomainPostmaster() |
boolean |
isGlobalPostmaster() |
boolean |
isPostmaster() |
LocalPart |
localPart() |
String |
sourceRouteStripped() |
String |
toString()
Returns the displayable (unescaped) form of the recipient, without source
route.
|
public GenericRecipient(Mailbox mailbox)
public boolean isPostmaster()
isPostmaster in interface Recipientpublic boolean isGlobalPostmaster()
isGlobalPostmaster in interface Recipientpublic boolean isDomainPostmaster()
isDomainPostmaster in interface Recipientpublic String sourceRouteStripped()
sourceRouteStripped in interface Recipientpublic Mailbox getMailbox()
getMailbox in interface RemotePartContainingRecipient