Package com.icegreen.greenmail.mail
Class MailAddress
- java.lang.Object
-
- com.icegreen.greenmail.mail.MailAddress
-
public class MailAddress extends Object
-
-
Constructor Summary
Constructors Constructor Description MailAddress(String str)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object object)Compares this MailAddress object to another for equality.StringgetEmail()StringgetHost()StringgetName()StringgetUser()inthashCode()Computes the hash code for this MailAddress object.StringtoString()
-
-
-
Constructor Detail
-
MailAddress
public MailAddress(String str)
-
-
Method Detail
-
getName
public String getName()
-
getHost
public String getHost()
-
getUser
public String getUser()
-
getEmail
public String getEmail()
-
equals
public boolean equals(Object object)
Compares this MailAddress object to another for equality. Two MailAddress objects are considered equal if their email, host, and user parts are equal, ignoring case.The name field was not considered in the equality check.
-
-