com.atlassian.confluence.mail.address
Class ConfluenceMailAddress
java.lang.Object
com.atlassian.confluence.mail.address.ConfluenceMailAddress
public class ConfluenceMailAddress
- extends Object
This object is used to house both internet addresses (parsed)
and addresses that are invalid.
This is to allow us to use toUnicodeString(), getPersonal()
and getAddress() which annoyingly is only available in
the InternetAddress object.
ConfluenceMailAddress
public ConfluenceMailAddress(String fullAddressString)
ConfluenceMailAddress
public ConfluenceMailAddress(javax.mail.internet.InternetAddress addressObject)
ConfluenceMailAddress
public ConfluenceMailAddress(ConfluenceMailAddress addressObject)
ConfluenceMailAddress
public ConfluenceMailAddress(javax.mail.Address addressObject)
getSender
public String getSender()
toUnicodeString
public String toUnicodeString()
getPersonal
public String getPersonal()
getAddress
public String getAddress()
toString
public String toString()
- Overrides:
toString
in class Object
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2003-2013 Atlassian. All Rights Reserved.