public interface Recipient
Use MailAddressFactory to create a new instance.
All implementing classes must implement the
RemotePartContainingRecipient interface except the special global
postmaster recipient.
GlobalPostmaster,
4.1.1.3.
RECIPIENT| Modifier and Type | Method and Description |
|---|---|
boolean |
isDomainPostmaster() |
boolean |
isGlobalPostmaster() |
boolean |
isPostmaster() |
LocalPart |
localPart() |
String |
sourceRouteStripped() |
String |
toString()
Returns the displayable (unescaped) form of the recipient, without source
route.
|
boolean isPostmaster()
boolean isGlobalPostmaster()
boolean isDomainPostmaster()
LocalPart localPart()
String sourceRouteStripped()
String toString()
toString in class Object