com.atlassian.confluence.mail.address
Class ConfluenceMailAddress
java.lang.Object
com.atlassian.confluence.mail.address.ConfluenceMailAddress
public class ConfluenceMailAddress
- extends java.lang.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.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ConfluenceMailAddress
public ConfluenceMailAddress(java.lang.String fullAddressString)
ConfluenceMailAddress
public ConfluenceMailAddress(javax.mail.internet.InternetAddress addressObject)
ConfluenceMailAddress
public ConfluenceMailAddress(ConfluenceMailAddress addressObject)
ConfluenceMailAddress
public ConfluenceMailAddress(javax.mail.Address addressObject)
getSender
public java.lang.String getSender()
toUnicodeString
public java.lang.String toUnicodeString()
getPersonal
public java.lang.String getPersonal()
getAddress
public java.lang.String getAddress()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
Copyright © 2003-2013 Atlassian. All Rights Reserved.