public class Email
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
address |
boolean |
allAliases |
boolean |
isDefault |
Constructor and Description |
---|
Email() |
Modifier and Type | Method and Description |
---|---|
static Email |
create(java.lang.String address,
boolean isDefault) |
static Email |
create(java.lang.String address,
boolean isDefault,
boolean allAliases) |
java.lang.String |
domainPart() |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.lang.String |
localPart() |
boolean |
match(java.lang.String mailto,
java.util.Set<java.lang.String> domainNames) |
java.lang.String |
toString() |
public java.lang.String address
public boolean allAliases
public boolean isDefault
public static Email create(java.lang.String address, boolean isDefault)
public static Email create(java.lang.String address, boolean isDefault, boolean allAliases)
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String localPart()
public java.lang.String domainPart()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public boolean match(java.lang.String mailto, java.util.Set<java.lang.String> domainNames)
Copyright © 2021. All Rights Reserved.