|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.darwinsys.net.DNSUtils
public class DNSUtils
Constructor Summary | |
---|---|
DNSUtils(java.lang.String dnsHost)
Construct a DNSUtils object. |
Method Summary | |
---|---|
java.lang.String |
findMX(java.lang.String host)
Find the MX record for a given host. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DNSUtils(java.lang.String dnsHost) throws javax.naming.NamingException
dnsHost
- The name of a host that runs a DNS server
javax.naming.NamingException
Method Detail |
---|
public java.lang.String findMX(java.lang.String host) throws javax.naming.NamingException
host
-
javax.naming.NamingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |