com.jscape.inet.dns.record
Class MailExchanger
java.lang.Object
com.jscape.inet.dns.record.DnsRecord
com.jscape.inet.dns.record.MailExchanger
- All Implemented Interfaces:
- java.io.Serializable
public class MailExchanger
- extends DnsRecord
MailExchanger record represents a host responsible for sending email
- See Also:
- Serialized Form
Method Summary |
java.lang.String |
getMX()
Gets domain name willing to act as mail exchange. |
int |
getPreference()
Gets preference given to this record. |
java.lang.String |
toString()
Gets String representation of this record. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MailExchanger
public MailExchanger()
getMX
public java.lang.String getMX()
- Gets domain name willing to act as mail exchange.
- Returns:
- mail exchange
getPreference
public int getPreference()
- Gets preference given to this record.
Lower values are preferred.
- Returns:
- preference
toString
public java.lang.String toString()
- Gets String representation of this record.
- Overrides:
toString
in class java.lang.Object
- Returns:
- String
Copyright © JSCAPE LLC. 1999-2011. All Rights Reserved