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 Recipient
public boolean isGlobalPostmaster()
isGlobalPostmaster
in interface Recipient
public boolean isDomainPostmaster()
isDomainPostmaster
in interface Recipient
public String sourceRouteStripped()
sourceRouteStripped
in interface Recipient
public Mailbox getMailbox()
getMailbox
in interface RemotePartContainingRecipient