Package mireka.address
Class GlobalPostmaster
- Object
-
- mireka.address.GlobalPostmaster
-
- All Implemented Interfaces:
Recipient
public class GlobalPostmaster extends Object implements Recipient
GlobalPostmaster represents the special "Postmaster" recipient (without a domain). This is always treated case-insensitively and quoted forms of the name must not be used.- See Also:
- RFC 5321 4.1.1.3
-
-
Constructor Summary
Constructors Constructor Description GlobalPostmaster(String postmaster)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisDomainPostmaster()booleanisGlobalPostmaster()booleanisPostmaster()LocalPartlocalPart()StringsourceRouteStripped()StringtoString()Returns the displayable (unescaped) form of the recipient, without source route.
-
-
-
Method Detail
-
isDomainPostmaster
public boolean isDomainPostmaster()
- Specified by:
isDomainPostmasterin interfaceRecipient
-
isGlobalPostmaster
public boolean isGlobalPostmaster()
- Specified by:
isGlobalPostmasterin interfaceRecipient
-
isPostmaster
public boolean isPostmaster()
- Specified by:
isPostmasterin interfaceRecipient
-
sourceRouteStripped
public String sourceRouteStripped()
- Specified by:
sourceRouteStrippedin interfaceRecipient
-
-