public class AliasMapper extends Object implements RecipientDestinationMapper
AliasDestination
.Constructor and Description |
---|
AliasMapper() |
Modifier and Type | Method and Description |
---|---|
void |
addAlias(String mailbox)
GETSET
|
Destination |
lookup(Recipient recipient)
Returns the destination of mails sent to this user; or null if it does
not know the recipient.
|
void |
setAliases(java.util.List<String> aliases) |
void |
setCanonical(String mailbox)
GETSET
|
String |
toString() |
public Destination lookup(Recipient recipient)
RecipientDestinationMapper
lookup
in interface RecipientDestinationMapper
public void addAlias(String mailbox)
public void setAliases(java.util.List<String> aliases)
public void setCanonical(String mailbox)
public String toString()
toString
in class Object